Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.361/2.361, allocations: 393.5 MB / 408.4 MB, free: 11.04 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 187.4 kB / 0.4902 GB, free: 2.258 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.512/1.512, allocations: 223.1 MB / 0.7992 GB, free: 14.73 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008812/0.0008808, allocations: 100.2 kB / 0.9396 GB, free: 1.938 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003893/0.0003891, allocations: 10.91 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.33/0.3305, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1923/0.5228, allocations: 150.1 MB / 1.376 GB, free: 3.551 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00025/0.5231, allocations: 79.94 kB / 1.376 GB, free: 3.473 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01371/0.5368, allocations: 4.582 MB / 1.38 GB, free: 14.88 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.146e-06/0.5369, allocations: 0 / 1.38 GB, free: 14.88 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.033e-05/0.5369, allocations: 4 kB / 1.38 GB, free: 14.88 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004247/0.5373, allocations: 343.3 kB / 1.381 GB, free: 14.5 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/0.5374, allocations: 12.56 kB / 1.381 GB, free: 14.48 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.614e-05/0.5375, allocations: 4 kB / 1.381 GB, free: 14.48 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.5376, allocations: 167 kB / 1.381 GB, free: 14.28 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.5377, allocations: 4 kB / 1.381 GB, free: 14.27 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.117e-05/0.5377, allocations: 0 / 1.381 GB, free: 14.27 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000112/0.5378, allocations: 33.7 kB / 1.381 GB, free: 14.23 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.5378, allocations: 0 / 1.381 GB, free: 14.23 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.5378, allocations: 0 / 1.381 GB, free: 14.23 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.5379, allocations: 0 / 1.381 GB, free: 14.23 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.608e-05/0.5379, allocations: 11.92 kB / 1.381 GB, free: 14.22 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001938/0.5381, allocations: 157.7 kB / 1.381 GB, free: 14.02 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 5.292e-05/0.5382, allocations: 26.5 kB / 1.381 GB, free: 13.98 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006718/0.5388, allocations: 461.5 kB / 1.381 GB, free: 13.44 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/0.5389, allocations: 38.56 kB / 1.382 GB, free: 13.39 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=2): time 1.543e-06/0.5389, allocations: 0 / 1.382 GB, free: 13.39 MB / 0.8855 GB Notification: Performance of matching and sorting (n=3): time 0.0006117/0.5395, allocations: 246.3 kB / 1.382 GB, free: 13.1 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.539e-05/0.5396, allocations: 55.62 kB / 1.382 GB, free: 13.04 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.642e-05/0.5396, allocations: 96.94 kB / 1.382 GB, free: 12.93 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.5397, allocations: 25.7 kB / 1.382 GB, free: 12.9 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 3.21e-05/0.5397, allocations: 80.14 kB / 1.382 GB, free: 12.82 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.621e-05/0.5397, allocations: 7.891 kB / 1.382 GB, free: 12.81 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-06/0.5397, allocations: 4 kB / 1.382 GB, free: 12.81 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.5399, allocations: 318.8 kB / 1.382 GB, free: 12.49 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.796e-05/0.5399, allocations: 4 kB / 1.382 GB, free: 12.48 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.02e-05/0.5399, allocations: 21.84 kB / 1.382 GB, free: 12.46 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.711e-05/0.5399, allocations: 7.984 kB / 1.382 GB, free: 12.45 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.54, allocations: 0 / 1.382 GB, free: 12.45 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001021/0.5401, allocations: 53.55 kB / 1.382 GB, free: 12.39 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.5401, allocations: 4 kB / 1.382 GB, free: 12.39 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.5401, allocations: 0 / 1.382 GB, free: 12.39 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.5401, allocations: 4 kB / 1.382 GB, free: 12.38 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.649e-05/0.5402, allocations: 8.047 kB / 1.382 GB, free: 12.38 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.5402, allocations: 4 kB / 1.382 GB, free: 12.37 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.877e-05/0.5402, allocations: 4 kB / 1.382 GB, free: 12.37 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.918e-06/0.5402, allocations: 4 kB / 1.382 GB, free: 12.36 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.437e-05/0.5403, allocations: 113.8 kB / 1.383 GB, free: 12.24 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.279e-05/0.5404, allocations: 0 / 1.383 GB, free: 12.24 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001376/0.5405, allocations: 61.09 kB / 1.383 GB, free: 12.18 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.5405, allocations: 4 kB / 1.383 GB, free: 12.17 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.5405, allocations: 0 / 1.383 GB, free: 12.17 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.5405, allocations: 192 / 1.383 GB, free: 12.17 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000125/0.5407, allocations: 157.6 kB / 1.383 GB, free: 11.97 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.5407, allocations: 0 / 1.383 GB, free: 11.97 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.114e-05/0.5407, allocations: 11.98 kB / 1.383 GB, free: 11.96 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.5408, allocations: 0 / 1.383 GB, free: 11.96 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.844e-06/0.5408, allocations: 3.938 kB / 1.383 GB, free: 11.95 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.5408, allocations: 0 / 1.383 GB, free: 11.95 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.5408, allocations: 0 / 1.383 GB, free: 11.95 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001486/0.5409, allocations: 81.06 kB / 1.383 GB, free: 11.86 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.094e-05/0.541, allocations: 100.9 kB / 1.383 GB, free: 11.74 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.341e-05/0.541, allocations: 0 / 1.383 GB, free: 11.74 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.092e-05/0.5411, allocations: 4 kB / 1.383 GB, free: 11.73 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.808e-05/0.5411, allocations: 0 / 1.383 GB, free: 11.73 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.5411, allocations: 4 kB / 1.383 GB, free: 11.73 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 3.625e-05/0.5411, allocations: 75.28 kB / 1.383 GB, free: 11.66 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5411, allocations: 0 / 1.383 GB, free: 11.66 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002424/0.5414, allocations: 40.08 kB / 1.383 GB, free: 11.62 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002708/0.5417, allocations: 144 kB / 1.383 GB, free: 11.47 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 8.153e-05/0.5418, allocations: 12 kB / 1.383 GB, free: 11.46 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.5418, allocations: 0 / 1.383 GB, free: 11.46 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 2.047e-05/0.5418, allocations: 11.92 kB / 1.383 GB, free: 11.45 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001128/0.5419, allocations: 9.031 kB / 1.383 GB, free: 11.44 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002955/0.5422, allocations: 117 kB / 1.383 GB, free: 11.29 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000288/0.5425, allocations: 0.6809 MB / 1.384 GB, free: 10.59 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.851e-05/0.5426, allocations: 7.938 kB / 1.384 GB, free: 10.58 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.028e-05/0.5426, allocations: 7.438 kB / 1.384 GB, free: 10.57 MB / 0.8855 GB Notification: Performance of SimCode: time 3e-07/0.5426, allocations: 0 / 1.384 GB, free: 10.57 MB / 0.8855 GB Notification: Performance of Templates: time 0.003295/0.5459, allocations: 0.7976 MB / 1.385 GB, free: 9.781 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.csv","../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches