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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.006957/0.006957, allocations: 101.1 kB / 15.73 MB, free: 6.047 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.001232/0.001232, allocations: 190.6 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.414/1.414, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.801/2.801, allocations: 461.9 MB / 0.7348 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001428, allocations: 64.12 kB / 1.054 GB, free: 7.199 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3679/0.3694, allocations: 157.4 MB / 1.208 GB, free: 9.691 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001953/0.3714, allocations: 0.5366 MB / 1.208 GB, free: 9.156 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0007205/0.3721, allocations: 326.9 kB / 1.209 GB, free: 8.836 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.574e-05/0.3721, allocations: 0 / 1.209 GB, free: 8.836 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.521e-05/0.3722, allocations: 0 / 1.209 GB, free: 8.836 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.852e-05/0.3722, allocations: 3.938 kB / 1.209 GB, free: 8.832 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005221/0.3728, allocations: 103.5 kB / 1.209 GB, free: 8.73 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 5.823e-05/0.3728, allocations: 19.92 kB / 1.209 GB, free: 8.711 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.285e-05/0.3729, allocations: 4 kB / 1.209 GB, free: 8.707 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.941e-05/0.3729, allocations: 0 / 1.209 GB, free: 8.707 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.308e-05/0.373, allocations: 4 kB / 1.209 GB, free: 8.703 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.665e-05/0.373, allocations: 0 / 1.209 GB, free: 8.703 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003302/0.3733, allocations: 195.7 kB / 1.209 GB, free: 8.512 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.608e-05/0.3734, allocations: 4 kB / 1.209 GB, free: 8.508 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.35e-05/0.3734, allocations: 0 / 1.209 GB, free: 8.508 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001894/0.3736, allocations: 83.8 kB / 1.209 GB, free: 8.426 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.3736, allocations: 0 / 1.209 GB, free: 8.426 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3736, allocations: 0 / 1.209 GB, free: 8.426 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.363e-06/0.3736, allocations: 4 kB / 1.209 GB, free: 8.422 MB / 0.9669 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.000394/0.374, allocations: 343.4 kB / 1.209 GB, free: 8.035 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.3741, allocations: 8.625 kB / 1.209 GB, free: 8.027 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.917e-05/0.3741, allocations: 4.938 kB / 1.209 GB, free: 8.023 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.3742, allocations: 168.4 kB / 1.209 GB, free: 7.82 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.3743, allocations: 384 / 1.209 GB, free: 7.82 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.027e-05/0.3743, allocations: 4.375 kB / 1.209 GB, free: 7.816 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001035/0.3744, allocations: 30.27 kB / 1.209 GB, free: 7.781 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.3744, allocations: 4.188 kB / 1.21 GB, free: 7.777 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.3744, allocations: 3.938 kB / 1.21 GB, free: 7.773 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.3744, allocations: 0 / 1.21 GB, free: 7.773 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.963e-05/0.3745, allocations: 15.92 kB / 1.21 GB, free: 7.758 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001894/0.3747, allocations: 145.7 kB / 1.21 GB, free: 7.566 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 6.266e-05/0.3747, allocations: 26.56 kB / 1.21 GB, free: 7.531 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.762e-05/0.3748, allocations: 4.859 kB / 1.21 GB, free: 7.523 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006419/0.3754, allocations: 0.5857 MB / 1.21 GB, free: 6.809 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/0.3754, allocations: 30.56 kB / 1.21 GB, free: 6.77 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 2.474e-06/0.3755, allocations: 0 / 1.21 GB, free: 6.77 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.000525/0.376, allocations: 266.4 kB / 1.211 GB, free: 6.457 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.965e-05/0.376, allocations: 55.34 kB / 1.211 GB, free: 6.391 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.623e-05/0.3761, allocations: 101.8 kB / 1.211 GB, free: 6.281 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.3761, allocations: 25.7 kB / 1.211 GB, free: 6.25 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.672e-05/0.3762, allocations: 80.14 kB / 1.211 GB, free: 6.168 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.511e-05/0.3762, allocations: 15.84 kB / 1.211 GB, free: 6.152 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.474e-05/0.3762, allocations: 13.72 kB / 1.211 GB, free: 6.133 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.3763, allocations: 322.9 kB / 1.211 GB, free: 5.809 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.752e-05/0.3764, allocations: 4 kB / 1.211 GB, free: 5.805 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.138e-05/0.3764, allocations: 17.72 kB / 1.211 GB, free: 5.781 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.479e-05/0.3765, allocations: 21.72 kB / 1.211 GB, free: 5.754 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.3765, allocations: 0 / 1.211 GB, free: 5.754 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.982e-05/0.3766, allocations: 61.53 kB / 1.211 GB, free: 5.688 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.3766, allocations: 12 kB / 1.211 GB, free: 5.676 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.3766, allocations: 0 / 1.211 GB, free: 5.676 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.3766, allocations: 0 / 1.211 GB, free: 5.676 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.482e-05/0.3767, allocations: 8 kB / 1.211 GB, free: 5.668 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.3767, allocations: 3.984 kB / 1.211 GB, free: 5.664 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.473e-05/0.3767, allocations: 0 / 1.211 GB, free: 5.664 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.3767, allocations: 4 kB / 1.211 GB, free: 5.66 MB / 0.9669 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.649e-05/0.3768, allocations: 113.8 kB / 1.211 GB, free: 5.539 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.217e-05/0.3768, allocations: 3.938 kB / 1.211 GB, free: 5.535 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001216/0.3769, allocations: 61.17 kB / 1.211 GB, free: 5.469 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.377, allocations: 384 / 1.211 GB, free: 5.469 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.377, allocations: 0 / 1.211 GB, free: 5.469 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.377, allocations: 0 / 1.211 GB, free: 5.469 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001099/0.3771, allocations: 157.7 kB / 1.212 GB, free: 5.266 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/0.3771, allocations: 7.969 kB / 1.212 GB, free: 5.258 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.749e-05/0.3771, allocations: 4 kB / 1.212 GB, free: 5.254 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.3772, allocations: 7.938 kB / 1.212 GB, free: 5.246 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.503e-06/0.3772, allocations: 0 / 1.212 GB, free: 5.246 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3772, allocations: 0 / 1.212 GB, free: 5.246 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.3772, allocations: 4 kB / 1.212 GB, free: 5.242 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001262/0.3773, allocations: 77.06 kB / 1.212 GB, free: 5.148 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.095e-05/0.3774, allocations: 88.98 kB / 1.212 GB, free: 5.043 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.594e-05/0.3774, allocations: 7.922 kB / 1.212 GB, free: 5.035 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.411e-05/0.3774, allocations: 0 / 1.212 GB, free: 5.035 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.821e-05/0.3774, allocations: 4 kB / 1.212 GB, free: 5.031 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.3775, allocations: 0 / 1.212 GB, free: 5.031 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.937e-05/0.3775, allocations: 83.34 kB / 1.212 GB, free: 4.949 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3775, allocations: 4 kB / 1.212 GB, free: 4.945 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002324/0.3777, allocations: 31.92 kB / 1.212 GB, free: 4.914 MB / 0.9669 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.0002087/0.378, allocations: 119.2 kB / 1.212 GB, free: 4.785 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 9.842e-05/0.3781, allocations: 23.92 kB / 1.212 GB, free: 4.762 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3781, allocations: 0 / 1.212 GB, free: 4.762 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.492e-05/0.3781, allocations: 4 kB / 1.212 GB, free: 4.758 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001503/0.3782, allocations: 7.938 kB / 1.212 GB, free: 4.75 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000264/0.3785, allocations: 125.6 kB / 1.212 GB, free: 4.598 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000219/0.3787, allocations: 0.6729 MB / 1.213 GB, free: 3.898 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.682e-05/0.3788, allocations: 7.953 kB / 1.213 GB, free: 3.891 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.043e-05/0.3788, allocations: 15.42 kB / 1.213 GB, free: 3.879 MB / 0.9669 GB Notification: Performance of SimCode: time 2.21e-07/0.3788, allocations: 0 / 1.213 GB, free: 3.879 MB / 0.9669 GB Notification: Performance of Templates: time 0.003894/0.3827, allocations: 1.208 MB / 1.214 GB, free: 2.68 MB / 0.9669 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 -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/jenkins/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