Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001401/0.001401, allocations: 116.9 kB / 16.42 MB, free: 6.441 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.001275/0.001275, allocations: 189.6 kB / 17.35 MB, free: 5.738 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.361/1.361, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.213/2.213, allocations: 390.3 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 63.89 kB / 0.9515 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9451/0.9465, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.002067/0.9486, allocations: 0.5428 MB / 1.089 GB, free: 5.199 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0007592/0.9493, allocations: 321.3 kB / 1.089 GB, free: 4.996 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.628e-05/0.9494, allocations: 5 kB / 1.089 GB, free: 4.992 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.314e-05/0.9494, allocations: 3.938 kB / 1.089 GB, free: 4.988 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 2.809e-05/0.9494, allocations: 0 / 1.089 GB, free: 4.988 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005993/0.9501, allocations: 102.3 kB / 1.09 GB, free: 4.953 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.454e-05/0.9502, allocations: 6.953 kB / 1.09 GB, free: 4.953 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.861e-05/0.9502, allocations: 3.406 kB / 1.09 GB, free: 4.953 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.581e-05/0.9503, allocations: 10.58 kB / 1.09 GB, free: 4.945 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.323e-05/0.9503, allocations: 7.578 kB / 1.09 GB, free: 4.941 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.45e-05/0.9503, allocations: 0 / 1.09 GB, free: 4.941 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004789/0.9508, allocations: 187.5 kB / 1.09 GB, free: 4.898 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.704e-05/0.9509, allocations: 1.875 kB / 1.09 GB, free: 4.898 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.026e-05/0.9509, allocations: 10.72 kB / 1.09 GB, free: 4.891 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002589/0.9512, allocations: 81.17 kB / 1.09 GB, free: 4.867 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.9512, allocations: 4 kB / 1.09 GB, free: 4.863 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.094e-06/0.9512, allocations: 0 / 1.09 GB, free: 4.863 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.204e-06/0.9512, allocations: 1.094 kB / 1.09 GB, free: 4.863 MB / 0.8575 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.0004265/0.9516, allocations: 334 kB / 1.09 GB, free: 4.504 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 7.238e-05/0.9517, allocations: 8.25 kB / 1.09 GB, free: 4.504 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.634e-05/0.9518, allocations: 3.125 kB / 1.09 GB, free: 4.504 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001511/0.9519, allocations: 170.7 kB / 1.09 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.191e-05/0.952, allocations: 1.531 kB / 1.09 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.378e-05/0.952, allocations: 5.188 kB / 1.09 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001612/0.9522, allocations: 41 kB / 1.09 GB, free: 4.258 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.9522, allocations: 192 / 1.09 GB, free: 4.258 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.017e-05/0.9522, allocations: 5.484 kB / 1.09 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.9522, allocations: 1.156 kB / 1.09 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.646e-05/0.9523, allocations: 2.672 kB / 1.09 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000212/0.9525, allocations: 152.5 kB / 1.091 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.509e-05/0.9526, allocations: 28.55 kB / 1.091 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.842e-05/0.9526, allocations: 15.61 kB / 1.091 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006934/0.9533, allocations: 0.5723 MB / 1.091 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/0.9534, allocations: 32.33 kB / 1.091 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.9534, allocations: 0 / 1.091 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0006103/0.954, allocations: 260.1 kB / 1.091 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.812e-05/0.954, allocations: 52.47 kB / 1.091 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.341e-05/0.9541, allocations: 99.91 kB / 1.092 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.9542, allocations: 25.7 kB / 1.092 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.321e-05/0.9542, allocations: 81.7 kB / 1.092 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.032e-05/0.9542, allocations: 6.547 kB / 1.092 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.105e-05/0.9543, allocations: 22.27 kB / 1.092 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.9544, allocations: 313 kB / 1.092 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.691e-05/0.9544, allocations: 8.984 kB / 1.092 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.842e-05/0.9545, allocations: 21.03 kB / 1.092 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.094e-05/0.9545, allocations: 27.14 kB / 1.092 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.9545, allocations: 1.5 kB / 1.092 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001037/0.9547, allocations: 55.89 kB / 1.092 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.9547, allocations: 5.594 kB / 1.092 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.9547, allocations: 3.938 kB / 1.092 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.9547, allocations: 1.391 kB / 1.092 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.336e-05/0.9548, allocations: 11.14 kB / 1.092 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.9548, allocations: 1.266 kB / 1.092 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.679e-05/0.9548, allocations: 0.8125 kB / 1.092 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.249e-05/0.9548, allocations: 10.89 kB / 1.092 GB, free: 2.328 MB / 0.8575 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.368e-05/0.9549, allocations: 111.8 kB / 1.092 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.46e-05/0.9549, allocations: 5.375 kB / 1.092 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001486/0.9551, allocations: 65.88 kB / 1.092 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.9551, allocations: 0.7031 kB / 1.092 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.9551, allocations: 1.219 kB / 1.092 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.803e-05/0.9552, allocations: 77.86 kB / 1.092 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.55e-05/0.9552, allocations: 0.9375 kB / 1.092 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.491e-05/0.9552, allocations: 1.766 kB / 1.092 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.72e-05/0.9552, allocations: 2.719 kB / 1.092 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000142/0.9554, allocations: 126.4 kB / 1.093 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001884/0.9556, allocations: 232.4 kB / 1.093 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.343e-05/0.9556, allocations: 13.94 kB / 1.093 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.208e-05/0.9557, allocations: 78.02 kB / 1.093 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of Backend: time 1.8e-07/0.9557, allocations: 0 / 1.093 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005524/0.9562, allocations: 125.3 kB / 1.093 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0006003/0.9568, allocations: 0.5613 MB / 1.093 GB, free: 16.98 MB / 0.8731 GB Notification: Performance of Templates: time 0.004163/0.961, allocations: 1.271 MB / 1.095 GB, free: 16.88 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.makefile (rm -f Buildings_9_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.sim & ./Buildings_9_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches