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.001394/0.001394, allocations: 102.9 kB / 16.35 MB, free: 5.875 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.001488/0.001488, allocations: 191 kB / 17.29 MB, free: 5.516 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.426/1.426, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.509/2.509, allocations: 442.6 MB / 0.7165 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 64.41 kB / 0.8773 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3604/0.3617, allocations: 153 MB / 1.027 GB, free: 2.098 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001726/0.3635, allocations: 0.5528 MB / 1.027 GB, free: 1.547 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0005898/0.3641, allocations: 317.4 kB / 1.028 GB, free: 1.238 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.204e-05/0.3641, allocations: 7.938 kB / 1.028 GB, free: 1.23 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.562e-05/0.3641, allocations: 7.938 kB / 1.028 GB, free: 1.223 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 2.755e-05/0.3642, allocations: 0 / 1.028 GB, free: 1.223 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004156/0.3646, allocations: 99.55 kB / 1.028 GB, free: 1.125 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.75e-05/0.3647, allocations: 11.98 kB / 1.028 GB, free: 1.113 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 3.792e-05/0.3647, allocations: 0 / 1.028 GB, free: 1.113 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.081e-05/0.3647, allocations: 15.98 kB / 1.028 GB, free: 1.098 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.26e-05/0.3648, allocations: 3.938 kB / 1.028 GB, free: 1.094 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.137e-05/0.3648, allocations: 0 / 1.028 GB, free: 1.094 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002701/0.3651, allocations: 191.8 kB / 1.028 GB, free: 0.9062 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.349e-05/0.3651, allocations: 4 kB / 1.028 GB, free: 0.9023 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 1.762e-05/0.3651, allocations: 4 kB / 1.028 GB, free: 0.8984 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001487/0.3653, allocations: 87.72 kB / 1.028 GB, free: 0.8125 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.3653, allocations: 0 / 1.028 GB, free: 0.8125 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.182e-06/0.3653, allocations: 0 / 1.028 GB, free: 0.8125 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.235e-06/0.3653, allocations: 0 / 1.028 GB, free: 0.8125 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.0003172/0.3656, allocations: 343.5 kB / 1.028 GB, free: 436 kB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.3657, allocations: 8.031 kB / 1.028 GB, free: 428 kB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.04e-05/0.3657, allocations: 0.9375 kB / 1.028 GB, free: 428 kB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001012/0.3658, allocations: 172.3 kB / 1.028 GB, free: 216 kB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/0.3658, allocations: 384 / 1.028 GB, free: 216 kB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.027e-05/0.3659, allocations: 4.375 kB / 1.028 GB, free: 212 kB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.403e-05/0.3659, allocations: 34.2 kB / 1.029 GB, free: 172 kB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.366, allocations: 4.172 kB / 1.029 GB, free: 168 kB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.366, allocations: 3.938 kB / 1.029 GB, free: 164 kB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.366, allocations: 8 kB / 1.029 GB, free: 156 kB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.886e-05/0.366, allocations: 0 / 1.029 GB, free: 156 kB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001612/0.3662, allocations: 153.7 kB / 1.029 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.672e-05/0.3662, allocations: 22.61 kB / 1.029 GB, free: 15.92 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.85e-05/0.3663, allocations: 12.91 kB / 1.029 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005628/0.3668, allocations: 0.5778 MB / 1.029 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.3669, allocations: 42.5 kB / 1.029 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.3669, allocations: 0 / 1.029 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0004706/0.3673, allocations: 246.3 kB / 1.03 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.411e-05/0.3674, allocations: 55.62 kB / 1.03 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.049e-05/0.3675, allocations: 101.8 kB / 1.03 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.3675, allocations: 29.7 kB / 1.03 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.175e-05/0.3675, allocations: 80.14 kB / 1.03 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.195e-05/0.3675, allocations: 7.812 kB / 1.03 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.024e-05/0.3676, allocations: 17.72 kB / 1.03 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.722e-05/0.3677, allocations: 314.8 kB / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.815e-05/0.3677, allocations: 8 kB / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.645e-05/0.3677, allocations: 21.72 kB / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.084e-05/0.3678, allocations: 25.66 kB / 1.03 GB, free: 14.15 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.3678, allocations: 0 / 1.03 GB, free: 14.15 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.372e-05/0.3679, allocations: 53.69 kB / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.3679, allocations: 7.938 kB / 1.03 GB, free: 14.08 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.3679, allocations: 4 kB / 1.03 GB, free: 14.08 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.3679, allocations: 4.062 kB / 1.03 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.263e-05/0.368, allocations: 11.92 kB / 1.03 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.368, allocations: 4 kB / 1.03 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.401e-05/0.368, allocations: 0 / 1.03 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.368, allocations: 0 / 1.03 GB, free: 14.06 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 6.577e-05/0.3681, allocations: 113.8 kB / 1.03 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.118e-05/0.3681, allocations: 7.875 kB / 1.03 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001196/0.3682, allocations: 57.09 kB / 1.03 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.592e-06/0.3682, allocations: 4 kB / 1.03 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.3682, allocations: 4 kB / 1.03 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.3683, allocations: 3.984 kB / 1.03 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.76e-05/0.3684, allocations: 153.7 kB / 1.031 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3684, allocations: 0 / 1.031 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.605e-05/0.3684, allocations: 7.938 kB / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.3684, allocations: 3.938 kB / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.3684, allocations: 7.938 kB / 1.031 GB, free: 13.63 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.3685, allocations: 4 kB / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3685, allocations: 0 / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001205/0.3686, allocations: 77.12 kB / 1.031 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.506e-05/0.3686, allocations: 81.09 kB / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.229e-05/0.3686, allocations: 3.938 kB / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.436e-05/0.3687, allocations: 4.031 kB / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.271e-05/0.3687, allocations: 432 / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.3687, allocations: 0 / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.943e-05/0.3687, allocations: 83.27 kB / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3688, allocations: 0 / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002187/0.369, allocations: 39.98 kB / 1.031 GB, free: 13.3 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.0002076/0.3692, allocations: 127.2 kB / 1.031 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.672e-05/0.3693, allocations: 16 kB / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3693, allocations: 0 / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.437e-05/0.3693, allocations: 8 kB / 1.031 GB, free: 13.15 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00015/0.3695, allocations: 6.641 kB / 1.031 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002256/0.3697, allocations: 117.6 kB / 1.031 GB, free: 13 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002263/0.3699, allocations: 0.6768 MB / 1.032 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.518e-05/0.37, allocations: 7.984 kB / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.685e-05/0.37, allocations: 11.44 kB / 1.032 GB, free: 12.28 MB / 0.8106 GB Notification: Performance of SimCode: time 2.4e-07/0.37, allocations: 0 / 1.032 GB, free: 12.28 MB / 0.8106 GB Notification: Performance of Templates: time 0.003476/0.3735, allocations: 1.212 MB / 1.033 GB, free: 11.08 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 gbode -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