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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 105.5 kB / 15.99 MB, free: 6.355 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.001348/0.001348, allocations: 195.8 kB / 16.91 MB, free: 6.188 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.339/1.339, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.616/2.616, allocations: 469.4 MB / 0.7423 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 72.41 kB / 0.9083 GB, free: 14.48 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3309/0.3322, allocations: 159.1 MB / 1.064 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.002975/0.3352, allocations: 1.505 MB / 1.065 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00031/0.3355, allocations: 91.73 kB / 1.065 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.378e-05/0.3356, allocations: 4 kB / 1.065 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.697e-05/0.3356, allocations: 0 / 1.065 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.384e-05/0.3357, allocations: 0 / 1.065 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002245/0.336, allocations: 15.92 kB / 1.065 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.824e-05/0.336, allocations: 20 kB / 1.065 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.3362, allocations: 15.95 kB / 1.065 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.876e-05/0.3362, allocations: 19.81 kB / 1.065 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.28e-05/0.3363, allocations: 15.92 kB / 1.065 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.3363, allocations: 4 kB / 1.065 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 6.399e-05/0.3363, allocations: 11.98 kB / 1.065 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.618e-05/0.3364, allocations: 4 kB / 1.065 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.075e-05/0.3364, allocations: 15.92 kB / 1.065 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 9.034e-05/0.3365, allocations: 19.97 kB / 1.065 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.3365, allocations: 0 / 1.065 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.106e-06/0.3365, allocations: 4 kB / 1.065 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.561e-06/0.3365, allocations: 4 kB / 1.065 GB, free: 13.61 MB / 0.8419 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.0004492/0.337, allocations: 339.7 kB / 1.066 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.337, allocations: 12.62 kB / 1.066 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002029/0.3373, allocations: 8.922 kB / 1.066 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.3374, allocations: 172.3 kB / 1.066 GB, free: 13 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.619e-05/0.3374, allocations: 384 / 1.066 GB, free: 13 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.123e-05/0.3374, allocations: 4.375 kB / 1.066 GB, free: 13 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001978/0.3376, allocations: 62.22 kB / 1.066 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.3377, allocations: 4.125 kB / 1.066 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.3377, allocations: 7.938 kB / 1.066 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.3377, allocations: 0 / 1.066 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002106/0.3379, allocations: 43.89 kB / 1.066 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004079/0.3383, allocations: 269 kB / 1.066 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001819/0.3385, allocations: 50.48 kB / 1.066 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/0.3386, allocations: 28.89 kB / 1.066 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.129e-05/0.3387, allocations: 4 kB / 1.066 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/0.3387, allocations: 34.56 kB / 1.066 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 2.375e-06/0.3387, allocations: 0 / 1.066 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0004127/0.3391, allocations: 105.6 kB / 1.067 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.395e-05/0.3392, allocations: 51.41 kB / 1.067 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.78e-05/0.3392, allocations: 105.8 kB / 1.067 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.3393, allocations: 25.7 kB / 1.067 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.649e-05/0.3393, allocations: 88.27 kB / 1.067 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.092e-05/0.3393, allocations: 7.844 kB / 1.067 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.854e-05/0.3394, allocations: 13.72 kB / 1.067 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.3395, allocations: 318.8 kB / 1.067 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001064/0.3396, allocations: 19.98 kB / 1.067 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.903e-05/0.3397, allocations: 27.97 kB / 1.067 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001898/0.3399, allocations: 52.81 kB / 1.067 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3399, allocations: 0 / 1.067 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002383/0.3402, allocations: 85.58 kB / 1.067 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.3402, allocations: 4 kB / 1.067 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.3402, allocations: 8.016 kB / 1.067 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.3402, allocations: 3.938 kB / 1.067 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.3403, allocations: 11.98 kB / 1.067 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.3404, allocations: 0 / 1.067 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.746e-05/0.3404, allocations: 11.98 kB / 1.067 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.3404, allocations: 0 / 1.067 GB, free: 11.44 MB / 0.8419 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.73e-05/0.3405, allocations: 113.8 kB / 1.067 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.796e-05/0.3406, allocations: 7.906 kB / 1.067 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.015e-05/0.3406, allocations: 7.531 kB / 1.067 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.3406, allocations: 0 / 1.067 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.3406, allocations: 0 / 1.067 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.3406, allocations: 0 / 1.067 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001738/0.3408, allocations: 173.8 kB / 1.068 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.3408, allocations: 7.938 kB / 1.068 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.2e-05/0.3409, allocations: 11.98 kB / 1.068 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.3409, allocations: 0 / 1.068 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.3409, allocations: 0 / 1.068 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3409, allocations: 0 / 1.068 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.3409, allocations: 3.984 kB / 1.068 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002816/0.3412, allocations: 175.5 kB / 1.068 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.883e-05/0.3413, allocations: 81.02 kB / 1.068 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.62e-05/0.3413, allocations: 4 kB / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.638e-05/0.3414, allocations: 11.98 kB / 1.068 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.886e-05/0.3415, allocations: 12 kB / 1.068 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-06/0.3415, allocations: 0 / 1.068 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.071e-05/0.3415, allocations: 83.28 kB / 1.068 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3415, allocations: 0 / 1.068 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002254/0.3417, allocations: 8 kB / 1.068 GB, free: 10.66 MB / 0.8419 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 (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.000118/0.3419, allocations: 100.1 kB / 1.068 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000257/0.3421, allocations: 55.94 kB / 1.068 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.3421, allocations: 0 / 1.068 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001084/0.3423, allocations: 23.98 kB / 1.068 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003268/0.3426, allocations: 11.92 kB / 1.068 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003856/0.343, allocations: 155.3 kB / 1.068 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002132/0.3432, allocations: 0.6768 MB / 1.069 GB, free: 9.578 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.682e-05/0.3433, allocations: 7.438 kB / 1.069 GB, free: 9.574 MB / 0.8419 GB Notification: Performance of SimCode: time 3.51e-07/0.3433, allocations: 7.938 kB / 1.069 GB, free: 9.566 MB / 0.8419 GB Notification: Performance of Templates: time 0.001937/0.3452, allocations: 0.6326 MB / 1.07 GB, free: 8.938 MB / 0.8419 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches