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.001376/0.001376, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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: 194.5 kB / 16.25 MB, free: 6.629 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.495/1.495, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.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.517/2.517, allocations: 390.2 MB / 0.6643 GB, free: 0.5234 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 67.89 kB / 0.812 GB, free: 14.73 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8686/0.8698, allocations: 140.4 MB / 0.9491 GB, free: 9.242 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001872/0.8718, allocations: 0.5903 MB / 0.9497 GB, free: 8.797 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006731/0.8724, allocations: 326.4 kB / 0.95 GB, free: 8.547 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.077e-05/0.8725, allocations: 0 / 0.95 GB, free: 8.547 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.973e-05/0.8725, allocations: 0 / 0.95 GB, free: 8.547 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.345e-05/0.8726, allocations: 3.938 kB / 0.95 GB, free: 8.543 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004153/0.873, allocations: 87.66 kB / 0.9501 GB, free: 8.496 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.538e-05/0.873, allocations: 13.48 kB / 0.9501 GB, free: 8.488 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.904e-05/0.8731, allocations: 9.312 kB / 0.9501 GB, free: 8.48 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.253e-05/0.8731, allocations: 6.734 kB / 0.9501 GB, free: 8.477 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.753e-05/0.8732, allocations: 1.375 kB / 0.9501 GB, free: 8.477 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.342e-05/0.8732, allocations: 1.375 kB / 0.9501 GB, free: 8.477 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002569/0.8735, allocations: 190.2 kB / 0.9503 GB, free: 8.371 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.314e-05/0.8735, allocations: 0 / 0.9503 GB, free: 8.371 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.098e-05/0.8735, allocations: 10.67 kB / 0.9503 GB, free: 8.363 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001449/0.8736, allocations: 83.17 kB / 0.9504 GB, free: 8.305 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.8737, allocations: 1.375 kB / 0.9504 GB, free: 8.305 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.864e-06/0.8737, allocations: 0 / 0.9504 GB, free: 8.305 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.682e-06/0.8737, allocations: 0 / 0.9504 GB, free: 8.305 MB / 0.7169 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.0002974/0.874, allocations: 343.8 kB / 0.9507 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.874, allocations: 10 kB / 0.9507 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.965e-05/0.8741, allocations: 6.672 kB / 0.9507 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.547e-05/0.8742, allocations: 164.4 kB / 0.9509 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.8742, allocations: 1.938 kB / 0.9509 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.23e-05/0.8742, allocations: 5.656 kB / 0.9509 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.649e-05/0.8743, allocations: 38.09 kB / 0.9509 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/0.8743, allocations: 192 / 0.9509 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.8743, allocations: 9.406 kB / 0.9509 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.636e-06/0.8743, allocations: 0 / 0.9509 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.253e-05/0.8744, allocations: 6.719 kB / 0.9509 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001276/0.8745, allocations: 153.9 kB / 0.9511 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.731e-05/0.8746, allocations: 18.73 kB / 0.9511 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.62e-05/0.8746, allocations: 12.05 kB / 0.9511 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004672/0.875, allocations: 0.5789 MB / 0.9517 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.781e-05/0.8751, allocations: 35.75 kB / 0.9517 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.8751, allocations: 0 / 0.9517 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0004694/0.8756, allocations: 264.3 kB / 0.952 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.532e-05/0.8756, allocations: 52.28 kB / 0.952 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.547e-05/0.8756, allocations: 97.88 kB / 0.9521 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.636e-06/0.8757, allocations: 26.73 kB / 0.9521 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.117e-05/0.8757, allocations: 84.14 kB / 0.9522 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.181e-05/0.8757, allocations: 14.34 kB / 0.9522 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.772e-05/0.8757, allocations: 16.5 kB / 0.9522 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.373e-05/0.8758, allocations: 316.3 kB / 0.9525 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.707e-05/0.8758, allocations: 8.219 kB / 0.9525 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.328e-05/0.8758, allocations: 18.69 kB / 0.9526 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.173e-05/0.8759, allocations: 26.69 kB / 0.9526 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.8759, allocations: 0 / 0.9526 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.312e-05/0.876, allocations: 50.22 kB / 0.9526 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.876, allocations: 9.781 kB / 0.9526 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.876, allocations: 8 kB / 0.9527 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.876, allocations: 1.688 kB / 0.9527 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.388e-05/0.8761, allocations: 9.266 kB / 0.9527 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.8761, allocations: 1.406 kB / 0.9527 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.462e-05/0.8761, allocations: 4 kB / 0.9527 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.984e-06/0.8761, allocations: 2.812 kB / 0.9527 GB, free: 5.703 MB / 0.7169 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 5.182e-05/0.8762, allocations: 110.9 kB / 0.9528 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.095e-05/0.8762, allocations: 5.281 kB / 0.9528 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001067/0.8763, allocations: 58.23 kB / 0.9528 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.8763, allocations: 5.906 kB / 0.9528 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.8763, allocations: 0 / 0.9528 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.257e-06/0.8763, allocations: 3.984 kB / 0.9529 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.485e-05/0.8764, allocations: 153.9 kB / 0.953 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.8764, allocations: 5.422 kB / 0.953 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.645e-05/0.8765, allocations: 4.062 kB / 0.953 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.8765, allocations: 3.938 kB / 0.953 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/0.8765, allocations: 1.375 kB / 0.953 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.8765, allocations: 0 / 0.953 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.8765, allocations: 1.375 kB / 0.953 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001197/0.8766, allocations: 82.31 kB / 0.9531 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.947e-05/0.8766, allocations: 82.5 kB / 0.9532 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.244e-05/0.8767, allocations: 7.875 kB / 0.9532 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.484e-05/0.8767, allocations: 1.5 kB / 0.9532 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.324e-05/0.8767, allocations: 1.312 kB / 0.9532 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.8767, allocations: 1.406 kB / 0.9532 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.284e-05/0.8768, allocations: 86 kB / 0.9533 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9.81e-07/0.8768, allocations: 4.062 kB / 0.9533 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002187/0.877, allocations: 33.83 kB / 0.9533 GB, free: 5.031 MB / 0.7169 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.0001936/0.8772, allocations: 127 kB / 0.9534 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.637e-05/0.8773, allocations: 15.66 kB / 0.9534 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.8773, allocations: 0 / 0.9534 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.726e-05/0.8773, allocations: 10.34 kB / 0.9534 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001517/0.8775, allocations: 11.02 kB / 0.9535 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002443/0.8777, allocations: 118.9 kB / 0.9536 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001135/0.8779, allocations: 0.6777 MB / 0.9542 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.057e-05/0.8779, allocations: 7.984 kB / 0.9542 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.605e-05/0.8779, allocations: 9 kB / 0.9542 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.8779, allocations: 0 / 0.9542 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of Templates: time 0.00358/0.8815, allocations: 1.212 MB / 0.9554 GB, free: 3.473 MB / 0.7169 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/jenkins/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