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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001221/0.001221, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 196.8 kB / 16.79 MB, free: 6.809 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.47/1.47, allocations: 222.9 MB / 240.5 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.294/2.294, allocations: 390.2 MB / 0.6649 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001833/0.001834, allocations: 67.89 kB / 0.8125 GB, free: 14.9 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6671/0.669, allocations: 140.3 MB / 0.9496 GB, free: 9.387 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001685/0.6707, allocations: 0.5946 MB / 0.9502 GB, free: 8.938 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005757/0.6713, allocations: 346.2 kB / 0.9505 GB, free: 8.684 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.327e-05/0.6713, allocations: 4 kB / 0.9505 GB, free: 8.68 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.481e-05/0.6713, allocations: 1.406 kB / 0.9505 GB, free: 8.68 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.043e-05/0.6714, allocations: 0 / 0.9505 GB, free: 8.68 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002716/0.6716, allocations: 65 kB / 0.9506 GB, free: 8.633 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.889e-05/0.6717, allocations: 8.922 kB / 0.9506 GB, free: 8.629 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.575e-05/0.6717, allocations: 6.406 kB / 0.9506 GB, free: 8.625 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.532e-05/0.6717, allocations: 9.594 kB / 0.9506 GB, free: 8.617 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.986e-05/0.6718, allocations: 10.77 kB / 0.9506 GB, free: 8.609 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.13e-05/0.6718, allocations: 0 / 0.9506 GB, free: 8.609 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002426/0.6721, allocations: 187 kB / 0.9508 GB, free: 8.508 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.028e-05/0.6721, allocations: 0 / 0.9508 GB, free: 8.508 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.946e-05/0.6721, allocations: 10.69 kB / 0.9508 GB, free: 8.5 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001069/0.6722, allocations: 49.5 kB / 0.9508 GB, free: 8.469 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.6722, allocations: 0 / 0.9508 GB, free: 8.469 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.41e-07/0.6722, allocations: 0 / 0.9508 GB, free: 8.469 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.6722, allocations: 0 / 0.9508 GB, free: 8.469 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.0002564/0.6725, allocations: 346.4 kB / 0.9512 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.6725, allocations: 13.61 kB / 0.9512 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.046e-05/0.6726, allocations: 2.312 kB / 0.9512 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.072e-05/0.6726, allocations: 163.9 kB / 0.9513 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.937e-06/0.6726, allocations: 384 / 0.9513 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.858e-05/0.6727, allocations: 5.734 kB / 0.9513 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.07e-05/0.6728, allocations: 38.38 kB / 0.9514 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.6728, allocations: 1.562 kB / 0.9514 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.198e-06/0.6728, allocations: 3.938 kB / 0.9514 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.197e-06/0.6728, allocations: 4 kB / 0.9514 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.899e-05/0.6728, allocations: 2.75 kB / 0.9514 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001147/0.6729, allocations: 153.8 kB / 0.9515 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.792e-05/0.673, allocations: 22.64 kB / 0.9516 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.6e-05/0.673, allocations: 7.609 kB / 0.9516 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004632/0.6735, allocations: 0.5839 MB / 0.9521 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.746e-05/0.6735, allocations: 31.94 kB / 0.9522 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.6735, allocations: 0 / 0.9522 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0004345/0.6739, allocations: 256.7 kB / 0.9524 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.558e-05/0.674, allocations: 55.41 kB / 0.9525 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.969e-05/0.674, allocations: 97.97 kB / 0.9526 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.015e-06/0.674, allocations: 27.08 kB / 0.9526 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.94e-05/0.6741, allocations: 84.14 kB / 0.9527 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.28e-05/0.6741, allocations: 17.11 kB / 0.9527 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.684e-05/0.6741, allocations: 17.84 kB / 0.9527 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.285e-05/0.6742, allocations: 316.2 kB / 0.953 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.731e-05/0.6742, allocations: 6.75 kB / 0.953 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.435e-05/0.6742, allocations: 27.16 kB / 0.953 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.919e-05/0.6743, allocations: 27.33 kB / 0.9531 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.6743, allocations: 0 / 0.9531 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.252e-05/0.6744, allocations: 50.14 kB / 0.9531 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.6744, allocations: 9.438 kB / 0.9531 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.6744, allocations: 9.375 kB / 0.9531 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.6744, allocations: 0 / 0.9531 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.245e-05/0.6745, allocations: 10.86 kB / 0.9531 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.6745, allocations: 0 / 0.9531 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.537e-05/0.6745, allocations: 1.375 kB / 0.9531 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.004e-06/0.6745, allocations: 1.375 kB / 0.9531 GB, free: 5.867 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 4.746e-05/0.6745, allocations: 111.2 kB / 0.9532 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.088e-05/0.6746, allocations: 5.312 kB / 0.9532 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001048/0.6747, allocations: 62.86 kB / 0.9533 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.6747, allocations: 3.984 kB / 0.9533 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.6747, allocations: 1.375 kB / 0.9533 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.6747, allocations: 0 / 0.9533 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.508e-05/0.6748, allocations: 153.8 kB / 0.9535 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.6748, allocations: 5.312 kB / 0.9535 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.381e-05/0.6748, allocations: 8.125 kB / 0.9535 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.6748, allocations: 4.312 kB / 0.9535 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-06/0.6748, allocations: 1.375 kB / 0.9535 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.6749, allocations: 0 / 0.9535 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.6749, allocations: 1.375 kB / 0.9535 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000107/0.675, allocations: 89.45 kB / 0.9536 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.505e-05/0.675, allocations: 82.47 kB / 0.9536 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.199e-05/0.675, allocations: 5.312 kB / 0.9536 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.628e-05/0.6751, allocations: 1.375 kB / 0.9536 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.163e-05/0.6751, allocations: 1.375 kB / 0.9536 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.99e-06/0.6751, allocations: 1.375 kB / 0.9537 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.937e-05/0.6751, allocations: 84.64 kB / 0.9537 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6751, allocations: 5.438 kB / 0.9537 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002152/0.6753, allocations: 25.44 kB / 0.9538 GB, free: 5.195 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.0001775/0.6755, allocations: 123.6 kB / 0.9539 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.046e-05/0.6756, allocations: 14.19 kB / 0.9539 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.6756, allocations: 1.656 kB / 0.9539 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.472e-05/0.6756, allocations: 9.281 kB / 0.9539 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001435/0.6758, allocations: 9.516 kB / 0.9539 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002161/0.676, allocations: 143 kB / 0.954 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.51e-05/0.6761, allocations: 0.6742 MB / 0.9547 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.571e-05/0.6761, allocations: 12.86 kB / 0.9547 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.6761, allocations: 1.125 kB / 0.9547 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of Templates: time 0.00207/0.6782, allocations: 0.8216 MB / 0.9555 GB, free: 3.816 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/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