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.00921/0.00921, allocations: 102 kB / 15.73 MB, free: 6.051 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.002036/0.002036, allocations: 195 kB / 16.68 MB, free: 5.969 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.408/1.408, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.819/2.819, allocations: 461.9 MB / 0.7348 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 63.91 kB / 1.054 GB, free: 7.168 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3586/0.3598, allocations: 157.4 MB / 1.208 GB, free: 9.66 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.002066/0.3619, allocations: 0.5343 MB / 1.208 GB, free: 9.125 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0007993/0.3628, allocations: 315 kB / 1.209 GB, free: 8.816 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.407e-05/0.3628, allocations: 0 / 1.209 GB, free: 8.816 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.055e-05/0.3628, allocations: 0 / 1.209 GB, free: 8.816 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.475e-05/0.3629, allocations: 0 / 1.209 GB, free: 8.816 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005519/0.3635, allocations: 111.5 kB / 1.209 GB, free: 8.707 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.33e-05/0.3635, allocations: 11.92 kB / 1.209 GB, free: 8.695 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 6.177e-05/0.3636, allocations: 4 kB / 1.209 GB, free: 8.691 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.068e-05/0.3636, allocations: 11.98 kB / 1.209 GB, free: 8.68 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.953e-05/0.3637, allocations: 0 / 1.209 GB, free: 8.68 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.79e-05/0.3638, allocations: 3.938 kB / 1.209 GB, free: 8.676 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003309/0.3641, allocations: 191.8 kB / 1.209 GB, free: 8.488 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.623e-05/0.3641, allocations: 7.938 kB / 1.209 GB, free: 8.48 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.813e-05/0.3641, allocations: 7.984 kB / 1.209 GB, free: 8.473 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001913/0.3643, allocations: 79.8 kB / 1.209 GB, free: 8.395 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.3644, allocations: 0 / 1.209 GB, free: 8.395 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.765e-06/0.3644, allocations: 0 / 1.209 GB, free: 8.395 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.3644, allocations: 0 / 1.209 GB, free: 8.395 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.0004452/0.3648, allocations: 339.4 kB / 1.209 GB, free: 8.012 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.38e-05/0.3649, allocations: 12.62 kB / 1.209 GB, free: 8 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.109e-05/0.3649, allocations: 8.859 kB / 1.209 GB, free: 7.992 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.3651, allocations: 164.4 kB / 1.209 GB, free: 7.793 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.3651, allocations: 8.375 kB / 1.209 GB, free: 7.785 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.607e-05/0.3651, allocations: 384 / 1.209 GB, free: 7.785 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001242/0.3653, allocations: 34.25 kB / 1.21 GB, free: 7.746 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.3653, allocations: 192 / 1.21 GB, free: 7.746 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.3653, allocations: 3.938 kB / 1.21 GB, free: 7.742 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.3653, allocations: 0 / 1.21 GB, free: 7.742 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.633e-05/0.3653, allocations: 7.938 kB / 1.21 GB, free: 7.734 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002142/0.3655, allocations: 153.7 kB / 1.21 GB, free: 7.535 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.57e-05/0.3656, allocations: 26.61 kB / 1.21 GB, free: 7.5 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.316e-05/0.3656, allocations: 8.922 kB / 1.21 GB, free: 7.488 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007203/0.3664, allocations: 0.5739 MB / 1.21 GB, free: 6.785 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/0.3664, allocations: 42.56 kB / 1.21 GB, free: 6.734 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.3664, allocations: 0 / 1.21 GB, free: 6.734 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0006525/0.3671, allocations: 254.2 kB / 1.211 GB, free: 6.434 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.195e-05/0.3671, allocations: 51.41 kB / 1.211 GB, free: 6.371 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.401e-05/0.3672, allocations: 101.8 kB / 1.211 GB, free: 6.262 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.3673, allocations: 25.92 kB / 1.211 GB, free: 6.23 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.577e-05/0.3673, allocations: 92.08 kB / 1.211 GB, free: 6.137 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.514e-05/0.3674, allocations: 7.906 kB / 1.211 GB, free: 6.129 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.332e-05/0.3674, allocations: 13.72 kB / 1.211 GB, free: 6.109 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.3675, allocations: 318.8 kB / 1.211 GB, free: 5.789 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.985e-05/0.3676, allocations: 4 kB / 1.211 GB, free: 5.785 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.703e-05/0.3676, allocations: 13.72 kB / 1.211 GB, free: 5.766 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.911e-05/0.3677, allocations: 29.72 kB / 1.211 GB, free: 5.73 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.3677, allocations: 0 / 1.211 GB, free: 5.73 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001017/0.3678, allocations: 61.53 kB / 1.211 GB, free: 5.664 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.3678, allocations: 7.938 kB / 1.211 GB, free: 5.656 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.3678, allocations: 0 / 1.211 GB, free: 5.656 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.3678, allocations: 4 kB / 1.211 GB, free: 5.652 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.855e-05/0.3679, allocations: 8.312 kB / 1.211 GB, free: 5.645 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.3679, allocations: 0 / 1.211 GB, free: 5.645 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.588e-05/0.3679, allocations: 8.062 kB / 1.211 GB, free: 5.637 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.281e-06/0.3679, allocations: 0 / 1.211 GB, free: 5.637 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 8.494e-05/0.368, allocations: 105.8 kB / 1.211 GB, free: 5.523 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.117e-05/0.368, allocations: 11.88 kB / 1.211 GB, free: 5.512 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001261/0.3682, allocations: 57.17 kB / 1.211 GB, free: 5.449 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.3682, allocations: 0 / 1.211 GB, free: 5.449 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.3682, allocations: 4 kB / 1.211 GB, free: 5.445 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/0.3682, allocations: 3.984 kB / 1.211 GB, free: 5.441 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001218/0.3683, allocations: 157.7 kB / 1.212 GB, free: 5.238 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.3683, allocations: 7.938 kB / 1.212 GB, free: 5.23 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.511e-05/0.3684, allocations: 4 kB / 1.212 GB, free: 5.227 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.3684, allocations: 3.938 kB / 1.212 GB, free: 5.223 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.112e-06/0.3684, allocations: 0 / 1.212 GB, free: 5.223 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3684, allocations: 0 / 1.212 GB, free: 5.223 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.3684, allocations: 3.984 kB / 1.212 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001494/0.3686, allocations: 81.06 kB / 1.212 GB, free: 5.121 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.26e-05/0.3686, allocations: 85 kB / 1.212 GB, free: 5.02 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.515e-05/0.3687, allocations: 11.94 kB / 1.212 GB, free: 5.008 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.458e-05/0.3687, allocations: 4.031 kB / 1.212 GB, free: 5.004 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.022e-05/0.3687, allocations: 0 / 1.212 GB, free: 5.004 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.3687, allocations: 0 / 1.212 GB, free: 5.004 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.845e-05/0.3688, allocations: 79.28 kB / 1.212 GB, free: 4.926 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3688, allocations: 0 / 1.212 GB, free: 4.926 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002366/0.369, allocations: 35.92 kB / 1.212 GB, free: 4.891 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.0002422/0.3693, allocations: 127.2 kB / 1.212 GB, free: 4.754 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001123/0.3694, allocations: 23.94 kB / 1.212 GB, free: 4.73 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.3694, allocations: 0 / 1.212 GB, free: 4.73 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.698e-05/0.3694, allocations: 8 kB / 1.212 GB, free: 4.723 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001664/0.3696, allocations: 6.047 kB / 1.212 GB, free: 4.719 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000315/0.3699, allocations: 113.5 kB / 1.212 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003068/0.3703, allocations: 0.6729 MB / 1.213 GB, free: 3.879 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.53e-05/0.3703, allocations: 11.94 kB / 1.213 GB, free: 3.867 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.045e-05/0.3703, allocations: 15.56 kB / 1.213 GB, free: 3.855 MB / 0.9669 GB Notification: Performance of SimCode: time 2.3e-07/0.3703, allocations: 0 / 1.213 GB, free: 3.855 MB / 0.9669 GB Notification: Performance of Templates: time 0.004128/0.3745, allocations: 1.213 MB / 1.214 GB, free: 2.652 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