Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 105.6 kB / 16.27 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 189.8 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.769/2.769, allocations: 469.8 MB / 0.743 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 72.95 kB / 0.9092 GB, free: 13.86 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3509/0.3529, allocations: 159.1 MB / 1.065 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001793/0.3547, allocations: 0.5835 MB / 1.065 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0006598/0.3554, allocations: 330.8 kB / 1.066 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.431e-05/0.3554, allocations: 4 kB / 1.066 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.267e-05/0.3554, allocations: 0 / 1.066 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.759e-06/0.3554, allocations: 0 / 1.066 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004362/0.3559, allocations: 103.7 kB / 1.066 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 3.537e-05/0.3559, allocations: 4 kB / 1.066 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 3.77e-05/0.356, allocations: 3.984 kB / 1.066 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 1.262e-05/0.356, allocations: 0 / 1.066 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 1.784e-05/0.356, allocations: 0 / 1.066 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 9.047e-06/0.356, allocations: 4 kB / 1.066 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004243/0.3565, allocations: 275.7 kB / 1.066 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.083e-05/0.3565, allocations: 0 / 1.066 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 1.33e-05/0.3565, allocations: 3.938 kB / 1.066 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001809/0.3567, allocations: 87.84 kB / 1.066 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.3567, allocations: 3.938 kB / 1.066 GB, free: 13.35 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.032e-06/0.3567, allocations: 0 / 1.066 GB, free: 13.35 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.702e-06/0.3567, allocations: 4 kB / 1.066 GB, free: 13.35 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003438/0.3571, allocations: 331.6 kB / 1.066 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.195e-05/0.3571, allocations: 8.031 kB / 1.066 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.363e-05/0.3572, allocations: 4.938 kB / 1.066 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.3573, allocations: 164.4 kB / 1.066 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.3573, allocations: 4.375 kB / 1.066 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.226e-06/0.3573, allocations: 8.312 kB / 1.066 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.769e-05/0.3574, allocations: 26.27 kB / 1.067 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.3574, allocations: 192 / 1.067 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.3575, allocations: 3.938 kB / 1.067 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.3575, allocations: 0 / 1.067 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.947e-05/0.3575, allocations: 7.984 kB / 1.067 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001559/0.3577, allocations: 153.6 kB / 1.067 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 4.069e-05/0.3577, allocations: 18.58 kB / 1.067 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.408e-05/0.3577, allocations: 8.953 kB / 1.067 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005563/0.3583, allocations: 425.5 kB / 1.067 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.207e-05/0.3583, allocations: 34.56 kB / 1.067 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.3583, allocations: 0 / 1.067 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1): time 0.0001481/0.3585, allocations: 37.58 kB / 1.067 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.3585, allocations: 51.41 kB / 1.067 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.293e-05/0.3586, allocations: 89.86 kB / 1.067 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.3586, allocations: 33.69 kB / 1.067 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 3.626e-05/0.3587, allocations: 80.14 kB / 1.067 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.867e-05/0.3587, allocations: 128 / 1.067 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.807e-05/0.3587, allocations: 17.72 kB / 1.067 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.3589, allocations: 310.8 kB / 1.068 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.588e-06/0.3589, allocations: 4 kB / 1.068 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.31e-06/0.3589, allocations: 0 / 1.068 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.999e-05/0.359, allocations: 8.859 kB / 1.068 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.359, allocations: 3.938 kB / 1.068 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.317e-05/0.359, allocations: 41.62 kB / 1.068 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.3591, allocations: 8.094 kB / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.3591, allocations: 4 kB / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.3591, allocations: 3.938 kB / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.892e-05/0.3591, allocations: 0 / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.3591, allocations: 0 / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.508e-06/0.3592, allocations: 0 / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.3592, allocations: 4 kB / 1.068 GB, free: 11.17 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.35e-05/0.3593, allocations: 108 kB / 1.068 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.938e-05/0.3593, allocations: 0 / 1.068 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.782e-05/0.3594, allocations: 45.03 kB / 1.068 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.103e-06/0.3594, allocations: 0 / 1.068 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.3594, allocations: 4 kB / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.043e-06/0.3594, allocations: 3.938 kB / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001129/0.3595, allocations: 145.7 kB / 1.068 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3595, allocations: 0 / 1.068 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.661e-05/0.3596, allocations: 7.984 kB / 1.068 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.3596, allocations: 0 / 1.068 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.3596, allocations: 7.875 kB / 1.068 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.3596, allocations: 4.031 kB / 1.068 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.3596, allocations: 0 / 1.068 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.213e-05/0.3597, allocations: 53.14 kB / 1.068 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.057e-05/0.3597, allocations: 88.95 kB / 1.068 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.829e-05/0.3598, allocations: 11.92 kB / 1.068 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.863e-06/0.3598, allocations: 0 / 1.068 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.024e-05/0.3598, allocations: 0 / 1.068 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-06/0.3598, allocations: 0 / 1.068 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.217e-05/0.3598, allocations: 79.31 kB / 1.068 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3599, allocations: 4 kB / 1.068 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002/0.3601, allocations: 12 kB / 1.068 GB, free: 10.51 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000183/0.3602, allocations: 115.7 kB / 1.068 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 6.843e-05/0.3603, allocations: 4 kB / 1.068 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3603, allocations: 0 / 1.068 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 8.466e-06/0.3603, allocations: 0 / 1.068 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001269/0.3605, allocations: 12.06 kB / 1.068 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002086/0.3607, allocations: 110.6 kB / 1.069 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003137/0.361, allocations: 0.669 MB / 1.069 GB, free: 9.531 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.639e-05/0.361, allocations: 11.42 kB / 1.069 GB, free: 9.52 MB / 0.8419 GB Notification: Performance of SimCode: time 2.61e-07/0.361, allocations: 0 / 1.069 GB, free: 9.52 MB / 0.8419 GB Notification: Performance of Templates: time 0.001966/0.363, allocations: 463.6 kB / 1.07 GB, free: 9.066 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches