Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002023/0.002024, allocations: 111.1 kB / 16.41 MB, free: 6.52 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.002083/0.002083, allocations: 185.5 kB / 17.34 MB, free: 5.734 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.473/1.473, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.474/2.474, allocations: 437.1 MB / 0.7112 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00153/0.00153, allocations: 71.89 kB / 1.019 GB, free: 9.371 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9652/0.9667, allocations: 151.6 MB / 1.167 GB, free: 3.797 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001902/0.9687, allocations: 0.6139 MB / 1.168 GB, free: 3.188 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0007346/0.9694, allocations: 346.7 kB / 1.168 GB, free: 2.848 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.88e-05/0.9695, allocations: 3.938 kB / 1.168 GB, free: 2.844 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.93e-05/0.9695, allocations: 4 kB / 1.168 GB, free: 2.84 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 2.634e-05/0.9696, allocations: 4 kB / 1.168 GB, free: 2.836 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000547/0.9701, allocations: 116.9 kB / 1.168 GB, free: 2.723 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.937e-05/0.9702, allocations: 19.98 kB / 1.168 GB, free: 2.703 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 5.355e-05/0.9703, allocations: 3.984 kB / 1.168 GB, free: 2.699 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 4.918e-05/0.9703, allocations: 19.92 kB / 1.168 GB, free: 2.68 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.772e-05/0.9704, allocations: 11.92 kB / 1.168 GB, free: 2.668 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.423e-05/0.9704, allocations: 0 / 1.168 GB, free: 2.668 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003976/0.9708, allocations: 279.7 kB / 1.169 GB, free: 2.395 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.692e-05/0.9708, allocations: 7.984 kB / 1.169 GB, free: 2.387 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.725e-05/0.9709, allocations: 15.92 kB / 1.169 GB, free: 2.371 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002237/0.9711, allocations: 96.28 kB / 1.169 GB, free: 2.281 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.9711, allocations: 0 / 1.169 GB, free: 2.281 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.623e-06/0.9711, allocations: 4 kB / 1.169 GB, free: 2.277 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.334e-06/0.9711, allocations: 0 / 1.169 GB, free: 2.277 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.00048/0.9716, allocations: 363.1 kB / 1.169 GB, free: 1.871 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.9717, allocations: 8.031 kB / 1.169 GB, free: 1.863 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.249e-05/0.9717, allocations: 16.89 kB / 1.169 GB, free: 1.848 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/0.9719, allocations: 164.4 kB / 1.169 GB, free: 1.648 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.9719, allocations: 4.375 kB / 1.169 GB, free: 1.645 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.164e-05/0.9719, allocations: 4.375 kB / 1.169 GB, free: 1.641 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.9721, allocations: 54.22 kB / 1.169 GB, free: 1.582 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.9721, allocations: 4.125 kB / 1.169 GB, free: 1.578 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.9721, allocations: 11.88 kB / 1.169 GB, free: 1.566 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.9721, allocations: 0 / 1.169 GB, free: 1.566 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.697e-05/0.9722, allocations: 23.92 kB / 1.169 GB, free: 1.543 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001941/0.9724, allocations: 169.6 kB / 1.17 GB, free: 1.328 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001114/0.9725, allocations: 58.55 kB / 1.17 GB, free: 1.262 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.335e-05/0.9725, allocations: 28.86 kB / 1.17 GB, free: 1.23 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007236/0.9733, allocations: 461.5 kB / 1.17 GB, free: 0.6875 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.493e-05/0.9733, allocations: 30.56 kB / 1.17 GB, free: 0.6484 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.9733, allocations: 0 / 1.17 GB, free: 0.6484 MB / 0.8887 GB Notification: Performance of matching and sorting (n=11): time 0.001397/0.9747, allocations: 0.5913 MB / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.133e-05/0.9748, allocations: 55.5 kB / 1.171 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.984e-05/0.9749, allocations: 105.7 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.9749, allocations: 29.7 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.511e-05/0.9749, allocations: 80.14 kB / 1.171 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.663e-05/0.975, allocations: 43.58 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.369e-05/0.975, allocations: 25.72 kB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.9752, allocations: 326.8 kB / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.991e-05/0.9752, allocations: 16 kB / 1.171 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.257e-05/0.9753, allocations: 26.45 kB / 1.171 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.495e-05/0.9754, allocations: 54.09 kB / 1.172 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.9754, allocations: 0 / 1.172 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001652/0.9756, allocations: 103 kB / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.9756, allocations: 4 kB / 1.172 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.9756, allocations: 0 / 1.172 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.9756, allocations: 3.938 kB / 1.172 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.9757, allocations: 23.98 kB / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.9757, allocations: 4.547 kB / 1.172 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.655e-05/0.9758, allocations: 4 kB / 1.172 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.328e-06/0.9758, allocations: 4 kB / 1.172 GB, free: 15.02 MB / 0.9044 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 (13): * Single equations (assignments): 13 * 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 0.0001026/0.9759, allocations: 109.8 kB / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.245e-05/0.9759, allocations: 11.89 kB / 1.172 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000221/0.9762, allocations: 121.5 kB / 1.172 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.9762, allocations: 0 / 1.172 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.9762, allocations: 0 / 1.172 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.373e-05/0.9763, allocations: 89.05 kB / 1.172 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.9763, allocations: 4 kB / 1.172 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.129e-05/0.9763, allocations: 4 kB / 1.172 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.749e-05/0.9764, allocations: 8.172 kB / 1.172 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000247/0.9766, allocations: 184.8 kB / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003183/0.977, allocations: 294.7 kB / 1.172 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.245e-05/0.977, allocations: 28.08 kB / 1.172 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.58e-05/0.9771, allocations: 87.28 kB / 1.173 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of Backend: time 5.01e-07/0.9771, allocations: 0 / 1.173 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005552/0.9776, allocations: 170.7 kB / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0005014/0.9782, allocations: 0.5965 MB / 1.173 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of Templates: time 0.004745/0.9829, allocations: 1.608 MB / 1.175 GB, free: 11.62 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches