Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_10_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_10_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.008167/0.008167, allocations: 100.8 kB / 15.73 MB, free: 6.07 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.00146/0.00146, allocations: 188.8 kB / 16.67 MB, free: 5.977 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.479/1.479, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.531/2.531, allocations: 437 MB / 0.7105 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 72.02 kB / 1.019 GB, free: 9.441 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9753/0.9765, allocations: 151.6 MB / 1.167 GB, free: 3.875 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001713/0.9783, allocations: 0.5456 MB / 1.167 GB, free: 3.332 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0006788/0.979, allocations: 327.3 kB / 1.167 GB, free: 3.016 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.254e-05/0.979, allocations: 0 / 1.167 GB, free: 3.016 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.222e-05/0.979, allocations: 0 / 1.167 GB, free: 3.016 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 3.348e-05/0.9791, allocations: 4 kB / 1.167 GB, free: 3.012 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004104/0.9795, allocations: 99.69 kB / 1.168 GB, free: 2.914 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 5.352e-05/0.9796, allocations: 15.94 kB / 1.168 GB, free: 2.898 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.285e-05/0.9796, allocations: 3.984 kB / 1.168 GB, free: 2.895 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 1.894e-05/0.9796, allocations: 7.938 kB / 1.168 GB, free: 2.887 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.085e-05/0.9797, allocations: 3.984 kB / 1.168 GB, free: 2.883 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.34e-05/0.9797, allocations: 0 / 1.168 GB, free: 2.883 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002965/0.98, allocations: 187.8 kB / 1.168 GB, free: 2.699 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.549e-05/0.98, allocations: 11.86 kB / 1.168 GB, free: 2.688 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.184e-05/0.9801, allocations: 8 kB / 1.168 GB, free: 2.68 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001793/0.9802, allocations: 84.3 kB / 1.168 GB, free: 2.602 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.9803, allocations: 0 / 1.168 GB, free: 2.602 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.322e-06/0.9803, allocations: 0 / 1.168 GB, free: 2.602 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.9803, allocations: 0 / 1.168 GB, free: 2.602 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003961/0.9807, allocations: 341.5 kB / 1.168 GB, free: 2.219 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.9807, allocations: 8.031 kB / 1.168 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.602e-05/0.9808, allocations: 4.938 kB / 1.168 GB, free: 2.207 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001342/0.9809, allocations: 164.4 kB / 1.168 GB, free: 2.008 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.9809, allocations: 8.375 kB / 1.168 GB, free: 2 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.655e-05/0.9809, allocations: 4.328 kB / 1.168 GB, free: 1.996 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.668e-05/0.981, allocations: 30.27 kB / 1.168 GB, free: 1.961 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.9811, allocations: 192 / 1.168 GB, free: 1.961 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.9811, allocations: 3.938 kB / 1.168 GB, free: 1.957 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.9811, allocations: 0 / 1.168 GB, free: 1.957 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.399e-05/0.9811, allocations: 7.938 kB / 1.168 GB, free: 1.949 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001709/0.9813, allocations: 157.7 kB / 1.169 GB, free: 1.746 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 5.259e-05/0.9814, allocations: 30.59 kB / 1.169 GB, free: 1.707 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.556e-05/0.9814, allocations: 8.922 kB / 1.169 GB, free: 1.695 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006677/0.9821, allocations: 0.5778 MB / 1.169 GB, free: 0.9883 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.92e-05/0.9821, allocations: 38.56 kB / 1.169 GB, free: 0.9414 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.213e-06/0.9821, allocations: 0 / 1.169 GB, free: 0.9414 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0006288/0.9827, allocations: 246.3 kB / 1.169 GB, free: 0.6484 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.508e-05/0.9828, allocations: 55.34 kB / 1.169 GB, free: 0.582 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.939e-05/0.9829, allocations: 97.86 kB / 1.17 GB, free: 488 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.9829, allocations: 25.7 kB / 1.17 GB, free: 456 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.014e-05/0.983, allocations: 88.34 kB / 1.17 GB, free: 364 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.421e-05/0.983, allocations: 15.91 kB / 1.17 GB, free: 348 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.156e-05/0.983, allocations: 17.66 kB / 1.17 GB, free: 324 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.9832, allocations: 314.8 kB / 1.17 GB, free: 0 / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.906e-05/0.9832, allocations: 7.984 kB / 1.17 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.832e-05/0.9833, allocations: 13.72 kB / 1.17 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.16e-05/0.9833, allocations: 33.72 kB / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.9833, allocations: 0 / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.991e-05/0.9834, allocations: 53.62 kB / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.9834, allocations: 7.938 kB / 1.17 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.9835, allocations: 3.938 kB / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.9835, allocations: 4 kB / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.548e-05/0.9835, allocations: 4 kB / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.9835, allocations: 0 / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.461e-05/0.9836, allocations: 4 kB / 1.17 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.9836, allocations: 0 / 1.17 GB, free: 15.85 MB / 0.9044 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 0.0001929/0.9838, allocations: 121.9 kB / 1.17 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.33e-05/0.9838, allocations: 7.891 kB / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001358/0.9839, allocations: 57.06 kB / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.9839, allocations: 0 / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.984, allocations: 0 / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.984, allocations: 4 kB / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000172/0.9841, allocations: 157.7 kB / 1.17 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.9842, allocations: 0 / 1.17 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.035e-05/0.9842, allocations: 11.98 kB / 1.17 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.9842, allocations: 3.938 kB / 1.17 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.9842, allocations: 0 / 1.17 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.9842, allocations: 3.984 kB / 1.17 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.768e-06/0.9843, allocations: 4 kB / 1.17 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001553/0.9844, allocations: 77.06 kB / 1.171 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.455e-05/0.9845, allocations: 77.53 kB / 1.171 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/0.9845, allocations: 3.938 kB / 1.171 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.822e-05/0.9845, allocations: 12.08 kB / 1.171 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.854e-05/0.9846, allocations: 3.938 kB / 1.171 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-06/0.9846, allocations: 0 / 1.171 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.28e-05/0.9846, allocations: 87.27 kB / 1.171 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9846, allocations: 0 / 1.171 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002273/0.9848, allocations: 27.94 kB / 1.171 GB, free: 15.09 MB / 0.9044 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.0002209/0.9851, allocations: 119.2 kB / 1.171 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001084/0.9852, allocations: 23.92 kB / 1.171 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.9852, allocations: 4.125 kB / 1.171 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.379e-05/0.9852, allocations: 8 kB / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001516/0.9854, allocations: 0 / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002933/0.9857, allocations: 117.4 kB / 1.171 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003318/0.986, allocations: 0.6768 MB / 1.172 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.844e-05/0.9861, allocations: 4 kB / 1.172 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.025e-05/0.9861, allocations: 11.44 kB / 1.172 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of SimCode: time 3.51e-07/0.9861, allocations: 0 / 1.172 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of Templates: time 0.004369/0.9905, allocations: 1.211 MB / 1.173 GB, free: 12.87 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.makefile (rm -f Buildings_10_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.sim & ./Buildings_10_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches