Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.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.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.405/1.405, allocations: 251.9 MB / 266.9 MB, free: 11 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.001178/0.001178, allocations: 177.5 kB / 326.5 MB, free: 2.242 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.773/1.773, allocations: 205.4 MB / 0.5775 GB, free: 20.23 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.001005/0.001005, allocations: 99.72 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003485/0.0003485, allocations: 8.812 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.2271, allocations: 106.3 MB / 0.9001 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1694/0.3966, allocations: 131.6 MB / 1.029 GB, free: 12.12 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002264/0.3969, allocations: 75.95 kB / 1.029 GB, free: 12.05 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002048/0.3989, allocations: 0.7701 MB / 1.029 GB, free: 11.28 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.084e-06/0.399, allocations: 0 / 1.029 GB, free: 11.28 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.093e-06/0.399, allocations: 0 / 1.029 GB, free: 11.28 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003649/0.3993, allocations: 351.2 kB / 1.03 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.3994, allocations: 8.031 kB / 1.03 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001507/0.3995, allocations: 19.89 kB / 1.03 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.3997, allocations: 171 kB / 1.03 GB, free: 10.65 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.689e-05/0.3997, allocations: 0 / 1.03 GB, free: 10.65 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.37e-05/0.3997, allocations: 8 kB / 1.03 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002132/0.4, allocations: 65.66 kB / 1.03 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.4, allocations: 0 / 1.03 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.4, allocations: 0 / 1.03 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.4, allocations: 4 kB / 1.03 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000211/0.4002, allocations: 63.95 kB / 1.03 GB, free: 10.51 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004442/0.4007, allocations: 280.8 kB / 1.03 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001793/0.4009, allocations: 66.48 kB / 1.03 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.546e-05/0.4009, allocations: 0 / 1.03 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/0.4009, allocations: 34.56 kB / 1.031 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.4009, allocations: 0 / 1.031 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0004272/0.4014, allocations: 121.8 kB / 1.031 GB, free: 9.941 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.111e-05/0.4014, allocations: 59.34 kB / 1.031 GB, free: 9.871 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.124e-05/0.4015, allocations: 92.98 kB / 1.031 GB, free: 9.773 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.989e-05/0.4015, allocations: 29.7 kB / 1.031 GB, free: 9.738 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.187e-05/0.4016, allocations: 84.14 kB / 1.031 GB, free: 9.652 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.62e-05/0.4016, allocations: 3.906 kB / 1.031 GB, free: 9.648 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.098e-06/0.4016, allocations: 0 / 1.031 GB, free: 9.648 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.4018, allocations: 326.8 kB / 1.031 GB, free: 9.32 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000169/0.4019, allocations: 23.97 kB / 1.031 GB, free: 9.297 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.651e-05/0.4021, allocations: 31.97 kB / 1.031 GB, free: 9.266 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001011/0.4022, allocations: 32.05 kB / 1.031 GB, free: 9.234 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.4022, allocations: 0 / 1.031 GB, free: 9.234 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002435/0.4024, allocations: 101.5 kB / 1.031 GB, free: 9.129 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.4025, allocations: 8 kB / 1.031 GB, free: 9.121 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.4025, allocations: 0 / 1.031 GB, free: 9.121 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.4025, allocations: 0 / 1.031 GB, free: 9.121 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/0.4026, allocations: 19.92 kB / 1.031 GB, free: 9.102 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.4026, allocations: 7.875 kB / 1.031 GB, free: 9.094 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.855e-05/0.4027, allocations: 16.27 kB / 1.031 GB, free: 9.078 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-06/0.4027, allocations: 0 / 1.031 GB, free: 9.078 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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 9.149e-05/0.4028, allocations: 117.8 kB / 1.032 GB, free: 8.953 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.425e-05/0.4029, allocations: 4 kB / 1.032 GB, free: 8.949 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.797e-05/0.4029, allocations: 3.531 kB / 1.032 GB, free: 8.945 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.4029, allocations: 0 / 1.032 GB, free: 8.945 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.4029, allocations: 0 / 1.032 GB, free: 8.945 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.4029, allocations: 8 kB / 1.032 GB, free: 8.938 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001777/0.4031, allocations: 169.6 kB / 1.032 GB, free: 8.723 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.4031, allocations: 0 / 1.032 GB, free: 8.723 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.85e-05/0.4032, allocations: 15.98 kB / 1.032 GB, free: 8.707 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.4032, allocations: 0 / 1.032 GB, free: 8.707 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.4032, allocations: 0 / 1.032 GB, free: 8.707 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.4032, allocations: 0 / 1.032 GB, free: 8.707 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.4032, allocations: 3.984 kB / 1.032 GB, free: 8.703 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002958/0.4035, allocations: 195.4 kB / 1.032 GB, free: 8.496 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.056e-05/0.4036, allocations: 85 kB / 1.032 GB, free: 8.395 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/0.4036, allocations: 4.031 kB / 1.032 GB, free: 8.391 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.505e-05/0.4037, allocations: 11.98 kB / 1.032 GB, free: 8.379 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.506e-05/0.4038, allocations: 4 kB / 1.032 GB, free: 8.375 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-06/0.4038, allocations: 4 kB / 1.032 GB, free: 8.371 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.868e-05/0.4038, allocations: 79.28 kB / 1.032 GB, free: 8.293 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4038, allocations: 0 / 1.032 GB, free: 8.293 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001966/0.404, allocations: 4 kB / 1.032 GB, free: 8.289 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (2): * Single equations (assignments): 2 * 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.0001245/0.4041, allocations: 103.2 kB / 1.032 GB, free: 8.18 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002678/0.4044, allocations: 63.95 kB / 1.032 GB, free: 8.117 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.4044, allocations: 4.062 kB / 1.032 GB, free: 8.113 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001101/0.4045, allocations: 31.97 kB / 1.032 GB, free: 8.082 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001878/0.4047, allocations: 7.953 kB / 1.032 GB, free: 8.074 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003619/0.4051, allocations: 144.6 kB / 1.032 GB, free: 7.902 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002863/0.4054, allocations: 0.6809 MB / 1.033 GB, free: 7.195 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.249e-05/0.4055, allocations: 4 kB / 1.033 GB, free: 7.191 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.366e-05/0.4055, allocations: 7.438 kB / 1.033 GB, free: 7.184 MB / 0.6823 GB Notification: Performance of SimCode: time 2.31e-07/0.4055, allocations: 0 / 1.033 GB, free: 7.184 MB / 0.6823 GB Notification: Performance of Templates: time 0.003005/0.4085, allocations: 496.9 kB / 1.034 GB, free: 6.703 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Math_Examples_PowerLinearized.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches