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.504/1.504, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001045/0.001045, allocations: 178.7 kB / 326.5 MB, free: 2.246 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.587/1.587, allocations: 205.4 MB / 0.5775 GB, free: 20.28 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.0007827/0.0007826, allocations: 87.92 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003543/0.0003543, allocations: 9.781 kB / 0.7962 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.217/0.2174, allocations: 106.3 MB / 0.9001 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1764/0.3938, allocations: 131.5 MB / 1.029 GB, free: 12.24 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002623/0.3942, allocations: 87.88 kB / 1.029 GB, free: 12.16 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006175/0.4004, allocations: 1.819 MB / 1.03 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.475e-06/0.4004, allocations: 3.938 kB / 1.03 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.343e-06/0.4004, allocations: 0 / 1.03 GB, free: 10.33 MB / 0.6823 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.000349/0.4008, allocations: 347.3 kB / 1.031 GB, free: 9.941 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.4008, allocations: 8.031 kB / 1.031 GB, free: 9.934 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.649e-05/0.4009, allocations: 4 kB / 1.031 GB, free: 9.93 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001452/0.401, allocations: 171 kB / 1.031 GB, free: 9.723 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.401, allocations: 0 / 1.031 GB, free: 9.723 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.068e-05/0.401, allocations: 0 / 1.031 GB, free: 9.723 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001048/0.4012, allocations: 41.69 kB / 1.031 GB, free: 9.676 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.4012, allocations: 4 kB / 1.031 GB, free: 9.672 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.4012, allocations: 0 / 1.031 GB, free: 9.672 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.4012, allocations: 0 / 1.031 GB, free: 9.672 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.002e-05/0.4012, allocations: 0 / 1.031 GB, free: 9.672 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002073/0.4014, allocations: 157.6 kB / 1.031 GB, free: 9.469 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 4.944e-05/0.4015, allocations: 26.55 kB / 1.031 GB, free: 9.434 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005836/0.4021, allocations: 0.5857 MB / 1.032 GB, free: 8.719 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.4021, allocations: 30.56 kB / 1.032 GB, free: 8.68 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 2.665e-06/0.4021, allocations: 0 / 1.032 GB, free: 8.68 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0005727/0.4027, allocations: 258.3 kB / 1.032 GB, free: 8.375 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.201e-05/0.4028, allocations: 51.41 kB / 1.032 GB, free: 8.312 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.379e-05/0.4028, allocations: 92.98 kB / 1.032 GB, free: 8.215 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.4029, allocations: 25.7 kB / 1.032 GB, free: 8.184 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.167e-05/0.4029, allocations: 88.14 kB / 1.032 GB, free: 8.094 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.24e-05/0.4029, allocations: 3.906 kB / 1.032 GB, free: 8.09 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.026e-06/0.403, allocations: 0 / 1.032 GB, free: 8.09 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.4031, allocations: 315.6 kB / 1.033 GB, free: 7.773 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.984e-05/0.4031, allocations: 11.98 kB / 1.033 GB, free: 7.762 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.627e-05/0.4031, allocations: 17.66 kB / 1.033 GB, free: 7.738 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.549e-05/0.4032, allocations: 12 kB / 1.033 GB, free: 7.727 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.4032, allocations: 3.953 kB / 1.033 GB, free: 7.723 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.983e-05/0.4033, allocations: 53.59 kB / 1.033 GB, free: 7.664 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.4033, allocations: 6.656 kB / 1.033 GB, free: 7.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.4033, allocations: 4.062 kB / 1.033 GB, free: 7.656 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.4033, allocations: 0 / 1.033 GB, free: 7.656 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.502e-05/0.4034, allocations: 11.94 kB / 1.033 GB, free: 7.645 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.4034, allocations: 0 / 1.033 GB, free: 7.645 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.531e-05/0.4034, allocations: 0 / 1.033 GB, free: 7.645 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.4034, allocations: 4 kB / 1.033 GB, free: 7.641 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.243e-05/0.4035, allocations: 117.8 kB / 1.033 GB, free: 7.516 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.147e-05/0.4036, allocations: 7.953 kB / 1.033 GB, free: 7.508 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001179/0.4037, allocations: 57.17 kB / 1.033 GB, free: 7.441 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.4037, allocations: 0 / 1.033 GB, free: 7.441 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.4037, allocations: 0 / 1.033 GB, free: 7.441 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.4037, allocations: 4.312 kB / 1.033 GB, free: 7.438 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001216/0.4038, allocations: 153.7 kB / 1.033 GB, free: 7.238 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.4038, allocations: 0 / 1.033 GB, free: 7.238 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.008e-05/0.4039, allocations: 15.94 kB / 1.033 GB, free: 7.223 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.4039, allocations: 0 / 1.033 GB, free: 7.223 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.4039, allocations: 0 / 1.033 GB, free: 7.223 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.4039, allocations: 0 / 1.033 GB, free: 7.223 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.4039, allocations: 4 kB / 1.033 GB, free: 7.219 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001354/0.4041, allocations: 85.14 kB / 1.033 GB, free: 7.117 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.678e-05/0.4041, allocations: 84.95 kB / 1.033 GB, free: 7.016 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.534e-05/0.4041, allocations: 3.953 kB / 1.033 GB, free: 7.012 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.516e-05/0.4042, allocations: 3.984 kB / 1.033 GB, free: 7.008 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.763e-05/0.4042, allocations: 4 kB / 1.033 GB, free: 7.004 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.4042, allocations: 0 / 1.033 GB, free: 7.004 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.378e-05/0.4043, allocations: 83.28 kB / 1.033 GB, free: 6.922 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.71e-07/0.4043, allocations: 8 kB / 1.033 GB, free: 6.914 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000226/0.4045, allocations: 31.94 kB / 1.033 GB, free: 6.883 MB / 0.6823 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 (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.0002138/0.4047, allocations: 131.2 kB / 1.033 GB, free: 6.746 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 7.697e-05/0.4048, allocations: 19.98 kB / 1.033 GB, free: 6.727 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.4048, allocations: 0 / 1.033 GB, free: 6.727 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.333e-05/0.4048, allocations: 4 kB / 1.033 GB, free: 6.723 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.962e-05/0.4049, allocations: 6.031 kB / 1.033 GB, free: 6.719 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002531/0.4052, allocations: 124.7 kB / 1.034 GB, free: 6.57 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003238/0.4055, allocations: 0.677 MB / 1.034 GB, free: 5.867 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.943e-05/0.4056, allocations: 4 kB / 1.034 GB, free: 5.863 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.929e-05/0.4056, allocations: 11.42 kB / 1.034 GB, free: 5.852 MB / 0.6823 GB Notification: Performance of SimCode: time 2.1e-07/0.4056, allocations: 4 kB / 1.034 GB, free: 5.848 MB / 0.6823 GB Notification: Performance of Templates: time 0.003161/0.4088, allocations: 1.051 MB / 1.035 GB, free: 4.828 MB / 0.6823 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