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.00159/0.00159, allocations: 105.8 kB / 16.36 MB, free: 6.336 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.001977/0.001977, allocations: 198 kB / 17.3 MB, free: 5.883 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.388/1.388, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.506/2.506, allocations: 442.6 MB / 0.7165 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 63.12 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3573/0.3586, allocations: 153 MB / 1.027 GB, free: 2.074 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001812/0.3605, allocations: 0.5447 MB / 1.027 GB, free: 1.531 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0006423/0.3611, allocations: 329.4 kB / 1.028 GB, free: 1.211 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.615e-05/0.3612, allocations: 7.938 kB / 1.028 GB, free: 1.203 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.437e-05/0.3612, allocations: 0 / 1.028 GB, free: 1.203 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 2.654e-05/0.3612, allocations: 0 / 1.028 GB, free: 1.203 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003926/0.3616, allocations: 95.55 kB / 1.028 GB, free: 1.109 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 4.811e-05/0.3617, allocations: 16 kB / 1.028 GB, free: 1.094 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.041e-05/0.3617, allocations: 3.984 kB / 1.028 GB, free: 1.09 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 1.946e-05/0.3617, allocations: 4 kB / 1.028 GB, free: 1.086 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.497e-05/0.3618, allocations: 11.92 kB / 1.028 GB, free: 1.074 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.163e-05/0.3618, allocations: 0 / 1.028 GB, free: 1.074 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002788/0.3621, allocations: 187.8 kB / 1.028 GB, free: 0.8906 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.313e-05/0.3621, allocations: 0 / 1.028 GB, free: 0.8906 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.369e-05/0.3622, allocations: 11.92 kB / 1.028 GB, free: 0.8789 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001709/0.3623, allocations: 83.8 kB / 1.028 GB, free: 0.7969 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3623, allocations: 0 / 1.028 GB, free: 0.7969 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.794e-06/0.3624, allocations: 0 / 1.028 GB, free: 0.7969 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.399e-06/0.3624, allocations: 4 kB / 1.028 GB, free: 0.793 MB / 0.795 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.0003774/0.3627, allocations: 339.5 kB / 1.028 GB, free: 420 kB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.3628, allocations: 11.97 kB / 1.028 GB, free: 408 kB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.04e-05/0.3628, allocations: 0.9375 kB / 1.028 GB, free: 408 kB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/0.363, allocations: 168.3 kB / 1.028 GB, free: 200 kB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.363, allocations: 384 / 1.028 GB, free: 200 kB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.961e-05/0.363, allocations: 384 / 1.028 GB, free: 200 kB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.606e-05/0.3631, allocations: 38.25 kB / 1.029 GB, free: 156 kB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.3631, allocations: 192 / 1.029 GB, free: 156 kB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/0.3632, allocations: 11.92 kB / 1.029 GB, free: 144 kB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.3632, allocations: 4 kB / 1.029 GB, free: 140 kB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.204e-05/0.3632, allocations: 3.938 kB / 1.029 GB, free: 136 kB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001838/0.3634, allocations: 157.7 kB / 1.029 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.974e-05/0.3634, allocations: 18.61 kB / 1.029 GB, free: 15.9 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.084e-05/0.3635, allocations: 12.91 kB / 1.029 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006329/0.3641, allocations: 0.5817 MB / 1.029 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/0.3641, allocations: 34.56 kB / 1.029 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.093e-06/0.3642, allocations: 0 / 1.029 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0005586/0.3647, allocations: 254.5 kB / 1.03 GB, free: 14.83 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.83e-05/0.3648, allocations: 55.41 kB / 1.03 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.883e-05/0.3649, allocations: 89.86 kB / 1.03 GB, free: 14.67 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.3649, allocations: 29.7 kB / 1.03 GB, free: 14.63 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.248e-05/0.3649, allocations: 84.14 kB / 1.03 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.672e-05/0.365, allocations: 11.8 kB / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.325e-05/0.365, allocations: 17.72 kB / 1.03 GB, free: 14.51 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.3651, allocations: 318.8 kB / 1.03 GB, free: 14.19 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.015e-05/0.3652, allocations: 8 kB / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.057e-05/0.3652, allocations: 25.7 kB / 1.03 GB, free: 14.15 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.903e-05/0.3653, allocations: 21.72 kB / 1.03 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.3653, allocations: 0 / 1.03 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.542e-05/0.3654, allocations: 53.62 kB / 1.03 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.3654, allocations: 12 kB / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.3654, allocations: 4 kB / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.3654, allocations: 0 / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.008e-05/0.3655, allocations: 4 kB / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.3655, allocations: 4 kB / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.442e-05/0.3655, allocations: 0 / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.673e-06/0.3655, allocations: 0 / 1.03 GB, free: 14.04 MB / 0.8106 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 8.619e-05/0.3656, allocations: 117.8 kB / 1.03 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.36e-05/0.3657, allocations: 7.922 kB / 1.03 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001548/0.3658, allocations: 61.03 kB / 1.03 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.3658, allocations: 0 / 1.03 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.3658, allocations: 4 kB / 1.03 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.3658, allocations: 0 / 1.03 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001264/0.366, allocations: 157.6 kB / 1.031 GB, free: 13.63 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.366, allocations: 0 / 1.031 GB, free: 13.63 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.033e-05/0.366, allocations: 4 kB / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.3661, allocations: 3.938 kB / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.3661, allocations: 7.922 kB / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.3661, allocations: 4 kB / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.3661, allocations: 4 kB / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001736/0.3663, allocations: 77.48 kB / 1.031 GB, free: 13.51 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.093e-05/0.3663, allocations: 81.09 kB / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.422e-05/0.3663, allocations: 3.938 kB / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.387e-05/0.3664, allocations: 4.031 kB / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.77e-05/0.3664, allocations: 3.984 kB / 1.031 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.632e-06/0.3664, allocations: 4 kB / 1.031 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.608e-05/0.3665, allocations: 83.34 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3665, allocations: 0 / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002322/0.3667, allocations: 27.94 kB / 1.031 GB, free: 13.29 MB / 0.8106 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 (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.0002214/0.3669, allocations: 123.2 kB / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001056/0.3671, allocations: 23.92 kB / 1.031 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3671, allocations: 0 / 1.031 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.579e-05/0.3671, allocations: 8 kB / 1.031 GB, free: 13.13 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001578/0.3673, allocations: 4 kB / 1.031 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002887/0.3676, allocations: 117.6 kB / 1.031 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002995/0.3679, allocations: 0.6768 MB / 1.032 GB, free: 12.28 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.788e-05/0.3679, allocations: 4 kB / 1.032 GB, free: 12.28 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.092e-05/0.3679, allocations: 11.44 kB / 1.032 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of SimCode: time 2.21e-07/0.3679, allocations: 0 / 1.032 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of Templates: time 0.003748/0.3717, allocations: 1.209 MB / 1.033 GB, free: 11.07 MB / 0.8106 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 -s cvode -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