Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.435/1.435, allocations: 249.5 MB / 257 MB, free: 6.996 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001005/0.001005, allocations: 180.9 kB / 316.3 MB, free: 3.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.543/1.543, allocations: 205.3 MB / 0.5671 GB, free: 15.82 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001048/0.001048, allocations: 100.4 kB / 0.6714 GB, free: 4.938 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.591e-05/1.592e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.215/0.2151, allocations: 106.3 MB / 0.8852 GB, free: 12.22 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7447/0.9598, allocations: 131.7 MB / 1.014 GB, free: 6.051 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002454/0.9602, allocations: 78.64 kB / 1.014 GB, free: 6.008 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.005834/0.966, allocations: 1.811 MB / 1.016 GB, free: 4.414 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.815e-06/0.966, allocations: 0 / 1.016 GB, free: 4.414 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.9661, allocations: 3.938 kB / 1.016 GB, free: 4.41 MB / 0.6355 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.0002804/0.9663, allocations: 337.9 kB / 1.016 GB, free: 4.039 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.9664, allocations: 8.031 kB / 1.016 GB, free: 4.031 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.241e-05/0.9664, allocations: 0 / 1.016 GB, free: 4.031 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001257/0.9666, allocations: 167 kB / 1.016 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.768e-06/0.9666, allocations: 0 / 1.016 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.442e-05/0.9666, allocations: 7.938 kB / 1.016 GB, free: 3.82 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.464e-05/0.9667, allocations: 4.625 kB / 1.016 GB, free: 3.816 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.705e-05/0.9667, allocations: 38.03 kB / 1.016 GB, free: 3.777 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.9667, allocations: 0 / 1.016 GB, free: 3.777 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.9668, allocations: 0 / 1.016 GB, free: 3.777 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.9668, allocations: 0 / 1.016 GB, free: 3.777 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000154/0.9669, allocations: 134.2 kB / 1.016 GB, free: 3.609 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.988e-05/0.967, allocations: 29.75 kB / 1.016 GB, free: 3.574 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.67e-05/0.967, allocations: 4.859 kB / 1.016 GB, free: 3.566 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005402/0.9676, allocations: 0.5736 MB / 1.017 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/0.9676, allocations: 48.55 kB / 1.017 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.184e-06/0.9676, allocations: 3.984 kB / 1.017 GB, free: 2.809 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0005383/0.9682, allocations: 234.2 kB / 1.017 GB, free: 2.531 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.144e-05/0.9682, allocations: 59.34 kB / 1.017 GB, free: 2.461 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.129e-05/0.9683, allocations: 92 kB / 1.017 GB, free: 2.367 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.9683, allocations: 25.7 kB / 1.017 GB, free: 2.336 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.144e-05/0.9683, allocations: 84.14 kB / 1.017 GB, free: 2.25 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.923e-05/0.9684, allocations: 11.34 kB / 1.017 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.406e-06/0.9684, allocations: 0 / 1.017 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.9685, allocations: 317.4 kB / 1.018 GB, free: 1.926 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.331e-05/0.9685, allocations: 4 kB / 1.018 GB, free: 1.922 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.76e-05/0.9685, allocations: 16.72 kB / 1.018 GB, free: 1.902 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.236e-05/0.9686, allocations: 14.5 kB / 1.018 GB, free: 1.891 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.9686, allocations: 0 / 1.018 GB, free: 1.891 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.563e-05/0.9687, allocations: 63.92 kB / 1.018 GB, free: 1.824 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.9687, allocations: 4 kB / 1.018 GB, free: 1.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.9687, allocations: 0 / 1.018 GB, free: 1.82 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.9687, allocations: 0 / 1.018 GB, free: 1.82 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.111e-05/0.9688, allocations: 8 kB / 1.018 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.9688, allocations: 0 / 1.018 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.369e-05/0.9688, allocations: 0 / 1.018 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.9688, allocations: 4 kB / 1.018 GB, free: 1.809 MB / 0.6355 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.88e-05/0.9689, allocations: 101 kB / 1.018 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.167e-05/0.9689, allocations: 12 kB / 1.018 GB, free: 1.691 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001364/0.9691, allocations: 49.81 kB / 1.018 GB, free: 1.633 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.9691, allocations: 7.938 kB / 1.018 GB, free: 1.625 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.9691, allocations: 0 / 1.018 GB, free: 1.625 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.9691, allocations: 0 / 1.018 GB, free: 1.625 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.583e-05/0.9692, allocations: 133.5 kB / 1.018 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.9692, allocations: 0 / 1.018 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.451e-05/0.9692, allocations: 4 kB / 1.018 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.9692, allocations: 0 / 1.018 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.9693, allocations: 4.641 kB / 1.018 GB, free: 1.453 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.9693, allocations: 4 kB / 1.018 GB, free: 1.449 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.9693, allocations: 4 kB / 1.018 GB, free: 1.445 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001433/0.9694, allocations: 75.48 kB / 1.018 GB, free: 1.359 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.222e-05/0.9695, allocations: 81.02 kB / 1.018 GB, free: 1.262 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.377e-05/0.9695, allocations: 4 kB / 1.018 GB, free: 1.258 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.354e-05/0.9695, allocations: 3.984 kB / 1.018 GB, free: 1.254 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.788e-05/0.9696, allocations: 4 kB / 1.018 GB, free: 1.25 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/0.9696, allocations: 4.062 kB / 1.018 GB, free: 1.246 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.659e-05/0.9696, allocations: 87.12 kB / 1.018 GB, free: 1.164 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.423e-06/0.9696, allocations: 0 / 1.018 GB, free: 1.164 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002125/0.9698, allocations: 39.88 kB / 1.019 GB, free: 1.125 MB / 0.6355 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002157/0.9701, allocations: 135.2 kB / 1.019 GB, free: 0.9844 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.643e-05/0.9701, allocations: 19.31 kB / 1.019 GB, free: 0.9688 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.9701, allocations: 0 / 1.019 GB, free: 0.9688 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.271e-05/0.9702, allocations: 4.141 kB / 1.019 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001154/0.9703, allocations: 12.05 kB / 1.019 GB, free: 0.9531 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002158/0.9705, allocations: 77.2 kB / 1.019 GB, free: 0.8555 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002337/0.9707, allocations: 0.6807 MB / 1.019 GB, free: 152 kB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.67e-05/0.9708, allocations: 7.984 kB / 1.019 GB, free: 144 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.475e-05/0.9708, allocations: 11.44 kB / 1.019 GB, free: 132 kB / 0.6355 GB Notification: Performance of SimCode: time 2.3e-07/0.9708, allocations: 0 / 1.019 GB, free: 132 kB / 0.6355 GB Notification: Performance of Templates: time 0.002995/0.9738, allocations: 1.034 MB / 1.02 GB, free: 15.14 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches