Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck") translateModel(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001473/0.001474, allocations: 112.3 kB / 16.42 MB, free: 6.5 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.001676/0.001676, allocations: 187.9 kB / 17.35 MB, free: 5.762 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.38/1.38, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.554/2.554, allocations: 461.7 MB / 0.7352 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001736/0.001736, allocations: 63.91 kB / 1.055 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9764/0.9781, allocations: 157.4 MB / 1.208 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001769/0.9799, allocations: 0.5382 MB / 1.209 GB, free: 13.24 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0007052/0.9807, allocations: 315 kB / 1.209 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.724e-05/0.9807, allocations: 4 kB / 1.209 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.75e-05/0.9807, allocations: 3.938 kB / 1.209 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 2.764e-05/0.9808, allocations: 0 / 1.209 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004953/0.9813, allocations: 99.69 kB / 1.209 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 5.259e-05/0.9814, allocations: 15.98 kB / 1.209 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.038e-05/0.9814, allocations: 0 / 1.209 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 1.802e-05/0.9814, allocations: 7.938 kB / 1.209 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.319e-05/0.9815, allocations: 0 / 1.209 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.401e-05/0.9815, allocations: 0 / 1.209 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003288/0.9818, allocations: 195.7 kB / 1.209 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.217e-05/0.9819, allocations: 0 / 1.209 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.145e-05/0.9819, allocations: 7.938 kB / 1.209 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001668/0.9821, allocations: 83.8 kB / 1.209 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.9821, allocations: 4 kB / 1.209 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.403e-06/0.9821, allocations: 0 / 1.209 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.624e-06/0.9821, allocations: 0 / 1.209 GB, free: 12.52 MB / 0.9356 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.0003607/0.9825, allocations: 339.4 kB / 1.21 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.9825, allocations: 8.031 kB / 1.21 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.797e-05/0.9825, allocations: 4.844 kB / 1.21 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.9827, allocations: 168.4 kB / 1.21 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.9827, allocations: 4.375 kB / 1.21 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.524e-05/0.9828, allocations: 384 / 1.21 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000101/0.9829, allocations: 42.2 kB / 1.21 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.9829, allocations: 192 / 1.21 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.9829, allocations: 7.922 kB / 1.21 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.9829, allocations: 0 / 1.21 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.114e-05/0.9829, allocations: 4 kB / 1.21 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002024/0.9831, allocations: 153.7 kB / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 4.974e-05/0.9832, allocations: 18.61 kB / 1.21 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.107e-05/0.9832, allocations: 16.92 kB / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006218/0.9839, allocations: 0.5778 MB / 1.211 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.9839, allocations: 38.5 kB / 1.211 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.333e-06/0.9839, allocations: 0 / 1.211 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0005169/0.9844, allocations: 258.2 kB / 1.211 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.426e-05/0.9845, allocations: 51.41 kB / 1.211 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.262e-05/0.9845, allocations: 97.84 kB / 1.211 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.322e-05/0.9846, allocations: 25.7 kB / 1.211 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.14e-05/0.9846, allocations: 88.14 kB / 1.211 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.475e-05/0.9846, allocations: 3.906 kB / 1.211 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.461e-05/0.9847, allocations: 25.88 kB / 1.211 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.9848, allocations: 314.8 kB / 1.212 GB, free: 9.914 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.955e-05/0.9849, allocations: 4 kB / 1.212 GB, free: 9.91 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.699e-05/0.9849, allocations: 17.72 kB / 1.212 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.574e-05/0.9849, allocations: 29.66 kB / 1.212 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.9849, allocations: 0 / 1.212 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001069/0.9851, allocations: 53.69 kB / 1.212 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.9851, allocations: 4 kB / 1.212 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.9851, allocations: 3.938 kB / 1.212 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.9851, allocations: 4 kB / 1.212 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.256e-05/0.9852, allocations: 11.92 kB / 1.212 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.9852, allocations: 0 / 1.212 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.581e-05/0.9852, allocations: 4 kB / 1.212 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.291e-06/0.9852, allocations: 0 / 1.212 GB, free: 9.766 MB / 0.9356 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.025e-05/0.9853, allocations: 119.7 kB / 1.212 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.11e-05/0.9853, allocations: 3.906 kB / 1.212 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000121/0.9854, allocations: 58.94 kB / 1.212 GB, free: 9.57 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.9854, allocations: 0 / 1.212 GB, free: 9.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.9854, allocations: 0 / 1.212 GB, free: 9.57 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.873e-05/0.9855, allocations: 85.47 kB / 1.212 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.136e-05/0.9855, allocations: 0 / 1.212 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.198e-05/0.9856, allocations: 0 / 1.212 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.686e-05/0.9856, allocations: 7.938 kB / 1.212 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001487/0.9857, allocations: 136.9 kB / 1.212 GB, free: 9.32 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002353/0.986, allocations: 226.8 kB / 1.212 GB, free: 9.082 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.446e-05/0.986, allocations: 7.969 kB / 1.212 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.473e-05/0.9861, allocations: 83.27 kB / 1.212 GB, free: 8.992 MB / 0.9356 GB Notification: Performance of Backend: time 2e-07/0.9861, allocations: 0 / 1.212 GB, free: 8.992 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004308/0.9865, allocations: 118.4 kB / 1.213 GB, free: 8.867 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0004274/0.9869, allocations: 0.561 MB / 1.213 GB, free: 8.258 MB / 0.9356 GB Notification: Performance of Templates: time 0.003659/0.9906, allocations: 1.269 MB / 1.214 GB, free: 7 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.sim & ./Buildings_latest_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches