Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.236/2.236, allocations: 390.3 MB / 402.8 MB, free: 6.672 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 184.8 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 221.3 MB / 0.7915 GB, free: 5.406 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009556/0.0009556, allocations: 91.89 kB / 0.9317 GB, free: 5.723 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.795e-05/2.798e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.3162, allocations: 143 MB / 1.219 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.073/1.389, allocations: 150 MB / 1.365 GB, free: 4.07 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002355/1.389, allocations: 75.59 kB / 1.365 GB, free: 4.031 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002098/1.391, allocations: 0.7811 MB / 1.366 GB, free: 3.312 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.513e-06/1.391, allocations: 0 / 1.366 GB, free: 3.312 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.524e-06/1.392, allocations: 0 / 1.366 GB, free: 3.312 MB / 0.823 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.0003343/1.392, allocations: 341.6 kB / 1.366 GB, free: 2.938 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/1.392, allocations: 8.031 kB / 1.366 GB, free: 2.93 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000163/1.392, allocations: 15.36 kB / 1.366 GB, free: 2.918 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/1.392, allocations: 170.9 kB / 1.367 GB, free: 2.711 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.189e-05/1.392, allocations: 0 / 1.367 GB, free: 2.711 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.989e-06/1.392, allocations: 0 / 1.367 GB, free: 2.711 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001119/1.392, allocations: 48.12 kB / 1.367 GB, free: 2.664 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/1.392, allocations: 0 / 1.367 GB, free: 2.664 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/1.392, allocations: 4 kB / 1.367 GB, free: 2.66 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/1.392, allocations: 4 kB / 1.367 GB, free: 2.656 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.05e-05/1.392, allocations: 14 kB / 1.367 GB, free: 2.648 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000433/1.393, allocations: 279.5 kB / 1.367 GB, free: 2.34 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.594e-05/1.393, allocations: 30.02 kB / 1.367 GB, free: 2.305 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.151e-05/1.393, allocations: 16.73 kB / 1.367 GB, free: 2.289 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.563e-05/1.393, allocations: 0 / 1.367 GB, free: 2.289 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/1.393, allocations: 37.81 kB / 1.367 GB, free: 2.246 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/1.393, allocations: 0.875 kB / 1.367 GB, free: 2.246 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.0001559/1.393, allocations: 48.56 kB / 1.367 GB, free: 2.199 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.403e-05/1.393, allocations: 51.41 kB / 1.367 GB, free: 2.137 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.638e-05/1.393, allocations: 100.3 kB / 1.367 GB, free: 2.035 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/1.393, allocations: 29.73 kB / 1.367 GB, free: 2 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.669e-05/1.393, allocations: 80.14 kB / 1.367 GB, free: 1.918 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.266e-05/1.393, allocations: 15.39 kB / 1.367 GB, free: 1.906 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.919e-06/1.394, allocations: 0 / 1.367 GB, free: 1.906 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001138/1.394, allocations: 320.8 kB / 1.368 GB, free: 1.586 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.395e-05/1.394, allocations: 11.44 kB / 1.368 GB, free: 1.578 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.843e-05/1.394, allocations: 7.375 kB / 1.368 GB, free: 1.574 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.399e-05/1.394, allocations: 11.31 kB / 1.368 GB, free: 1.566 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/1.394, allocations: 4.062 kB / 1.368 GB, free: 1.562 MB / 0.823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.962e-05/1.394, allocations: 48.48 kB / 1.368 GB, free: 1.516 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/1.394, allocations: 8 kB / 1.368 GB, free: 1.508 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/1.394, allocations: 3.984 kB / 1.368 GB, free: 1.504 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.998e-06/1.394, allocations: 0 / 1.368 GB, free: 1.504 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/1.394, allocations: 15.98 kB / 1.368 GB, free: 1.488 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/1.394, allocations: 0 / 1.368 GB, free: 1.488 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.947e-05/1.394, allocations: 15.72 kB / 1.368 GB, free: 1.477 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.348e-05/1.394, allocations: 3.953 kB / 1.368 GB, free: 1.473 MB / 0.823 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 () * 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 6.804e-05/1.394, allocations: 105 kB / 1.368 GB, free: 1.363 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.401e-05/1.394, allocations: 4 kB / 1.368 GB, free: 1.359 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.754e-05/1.394, allocations: 6.844 kB / 1.368 GB, free: 1.355 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-06/1.394, allocations: 3.938 kB / 1.368 GB, free: 1.352 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.311e-06/1.394, allocations: 0 / 1.368 GB, free: 1.352 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/1.394, allocations: 3.938 kB / 1.368 GB, free: 1.348 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001681/1.394, allocations: 165 kB / 1.368 GB, free: 1.141 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/1.394, allocations: 4 kB / 1.368 GB, free: 1.137 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.91e-05/1.394, allocations: 19.48 kB / 1.368 GB, free: 1.121 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/1.395, allocations: 0 / 1.368 GB, free: 1.121 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/1.395, allocations: 0 / 1.368 GB, free: 1.121 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/1.395, allocations: 0 / 1.368 GB, free: 1.121 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/1.395, allocations: 0 / 1.368 GB, free: 1.121 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001305/1.395, allocations: 150.9 kB / 1.368 GB, free: 0.9648 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.293e-05/1.395, allocations: 81.02 kB / 1.368 GB, free: 0.8672 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.24e-05/1.395, allocations: 0 / 1.368 GB, free: 0.8672 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.64e-05/1.395, allocations: 11.98 kB / 1.368 GB, free: 0.8555 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.99e-05/1.395, allocations: 3.984 kB / 1.368 GB, free: 0.8516 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/1.395, allocations: 4 kB / 1.368 GB, free: 0.8477 MB / 0.823 GB Notification: Performance of sorting global known variables: time 4.851e-05/1.395, allocations: 85.77 kB / 1.368 GB, free: 0.7656 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.51e-07/1.395, allocations: 3.938 kB / 1.368 GB, free: 0.7617 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001867/1.395, allocations: 11.41 kB / 1.368 GB, free: 0.7539 MB / 0.823 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 () * 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.000119/1.395, allocations: 95.25 kB / 1.368 GB, free: 0.6523 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 9.033e-05/1.395, allocations: 19.19 kB / 1.368 GB, free: 0.6406 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/1.395, allocations: 0 / 1.368 GB, free: 0.6406 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 3.221e-05/1.395, allocations: 11.38 kB / 1.368 GB, free: 0.6328 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001583/1.396, allocations: 4.641 kB / 1.368 GB, free: 0.6289 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002513/1.396, allocations: 81.09 kB / 1.369 GB, free: 0.5312 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002603/1.396, allocations: 0.677 MB / 1.369 GB, free: 15.83 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.333e-05/1.396, allocations: 7.938 kB / 1.369 GB, free: 15.82 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.857e-05/1.396, allocations: 11.38 kB / 1.369 GB, free: 15.81 MB / 0.8386 GB Notification: Performance of SimCode: time 4.61e-07/1.396, allocations: 3.938 kB / 1.369 GB, free: 15.8 MB / 0.8386 GB Notification: Performance of Templates: time 0.002275/1.398, allocations: 0.4974 MB / 1.37 GB, free: 15.32 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_PowerLinearized.csv","../files/Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches