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.008374/0.008374, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001706/0.001706, allocations: 192.2 kB / 16.67 MB, free: 5.523 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.415/1.415, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.693/2.693, allocations: 461.9 MB / 0.7348 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 59.91 kB / 1.054 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9223/0.9235, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.003231/0.9268, allocations: 1.429 MB / 1.209 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0003468/0.9272, allocations: 95.75 kB / 1.209 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.928e-05/0.9273, allocations: 0 / 1.209 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.624e-05/0.9273, allocations: 3.938 kB / 1.209 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.431e-05/0.9274, allocations: 11.92 kB / 1.209 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002488/0.9276, allocations: 19.97 kB / 1.209 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.119e-05/0.9277, allocations: 23.92 kB / 1.209 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.9279, allocations: 8 kB / 1.209 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.225e-05/0.9279, allocations: 7.938 kB / 1.209 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.469e-05/0.928, allocations: 15.92 kB / 1.209 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.096e-05/0.928, allocations: 4 kB / 1.209 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.975e-05/0.9281, allocations: 19.98 kB / 1.209 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.165e-05/0.9281, allocations: 4 kB / 1.209 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.698e-05/0.9282, allocations: 7.922 kB / 1.209 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001791/0.9284, allocations: 35.89 kB / 1.209 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.9284, allocations: 0 / 1.209 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.212e-06/0.9284, allocations: 0 / 1.209 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.9284, allocations: 0 / 1.209 GB, free: 11.92 MB / 0.9356 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.0005295/0.9289, allocations: 343.3 kB / 1.21 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/0.929, allocations: 12.03 kB / 1.21 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002091/0.9292, allocations: 16.91 kB / 1.21 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/0.9294, allocations: 164.3 kB / 1.21 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.207e-05/0.9294, allocations: 8.375 kB / 1.21 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.046e-05/0.9294, allocations: 384 / 1.21 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002053/0.9296, allocations: 66.14 kB / 1.21 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.9297, allocations: 192 / 1.21 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.9297, allocations: 3.938 kB / 1.21 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.9297, allocations: 4 kB / 1.21 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002036/0.9299, allocations: 51.95 kB / 1.21 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004468/0.9304, allocations: 257 kB / 1.21 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001688/0.9305, allocations: 62.42 kB / 1.21 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001045/0.9307, allocations: 32.89 kB / 1.21 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.604e-05/0.9307, allocations: 0 / 1.21 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/0.9307, allocations: 30.56 kB / 1.21 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 7.92e-07/0.9307, allocations: 3.938 kB / 1.21 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0004105/0.9311, allocations: 101.6 kB / 1.21 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.645e-05/0.9312, allocations: 55.41 kB / 1.211 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.985e-05/0.9313, allocations: 105.8 kB / 1.211 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.9313, allocations: 25.7 kB / 1.211 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.775e-05/0.9314, allocations: 80.14 kB / 1.211 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.001e-05/0.9314, allocations: 13.61 kB / 1.211 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.254e-05/0.9315, allocations: 17.72 kB / 1.211 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.9316, allocations: 315 kB / 1.211 GB, free: 9.977 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001005/0.9317, allocations: 27.97 kB / 1.211 GB, free: 9.949 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.688e-05/0.9318, allocations: 23.97 kB / 1.211 GB, free: 9.926 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001792/0.932, allocations: 48.81 kB / 1.211 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.932, allocations: 8.062 kB / 1.211 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002445/0.9322, allocations: 77.5 kB / 1.211 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.9323, allocations: 4 kB / 1.211 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.9323, allocations: 4 kB / 1.211 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.9323, allocations: 0 / 1.211 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.9324, allocations: 19.92 kB / 1.211 GB, free: 9.758 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.9325, allocations: 0 / 1.211 GB, free: 9.758 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.89e-05/0.9325, allocations: 12.02 kB / 1.211 GB, free: 9.746 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.9325, allocations: 0 / 1.211 GB, free: 9.746 MB / 0.9356 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 9.992e-05/0.9326, allocations: 117.8 kB / 1.211 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.662e-05/0.9327, allocations: 0 / 1.211 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.861e-05/0.9327, allocations: 7.531 kB / 1.211 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.9327, allocations: 0 / 1.211 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.9327, allocations: 0 / 1.211 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.9327, allocations: 4 kB / 1.211 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001748/0.9329, allocations: 161.6 kB / 1.212 GB, free: 9.395 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.9329, allocations: 4 kB / 1.212 GB, free: 9.391 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.505e-05/0.933, allocations: 11.98 kB / 1.212 GB, free: 9.379 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.933, allocations: 0 / 1.212 GB, free: 9.379 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.933, allocations: 0 / 1.212 GB, free: 9.379 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.933, allocations: 4 kB / 1.212 GB, free: 9.375 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.933, allocations: 256 / 1.212 GB, free: 9.375 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000275/0.9333, allocations: 183.4 kB / 1.212 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.251e-05/0.9334, allocations: 85.02 kB / 1.212 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.9334, allocations: 7.938 kB / 1.212 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.931e-05/0.9335, allocations: 7.984 kB / 1.212 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.97e-05/0.9336, allocations: 0 / 1.212 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-06/0.9336, allocations: 4 kB / 1.212 GB, free: 9.059 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.773e-05/0.9336, allocations: 87.27 kB / 1.212 GB, free: 8.973 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9336, allocations: 0 / 1.212 GB, free: 8.973 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002222/0.9339, allocations: 8.031 kB / 1.212 GB, free: 8.965 MB / 0.9356 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.0001484/0.934, allocations: 95.25 kB / 1.212 GB, free: 8.863 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002655/0.9343, allocations: 51.95 kB / 1.212 GB, free: 8.812 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.9343, allocations: 0 / 1.212 GB, free: 8.812 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001041/0.9344, allocations: 31.97 kB / 1.212 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00033/0.9348, allocations: 15.86 kB / 1.212 GB, free: 8.766 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003777/0.9351, allocations: 121.4 kB / 1.212 GB, free: 8.621 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002753/0.9354, allocations: 0.6768 MB / 1.213 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.508e-05/0.9355, allocations: 4 kB / 1.213 GB, free: 7.914 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.336e-05/0.9355, allocations: 15.5 kB / 1.213 GB, free: 7.898 MB / 0.9356 GB Notification: Performance of SimCode: time 3.41e-07/0.9355, allocations: 0 / 1.213 GB, free: 7.898 MB / 0.9356 GB Notification: Performance of Templates: time 0.00293/0.9385, allocations: 0.5723 MB / 1.213 GB, free: 7.332 MB / 0.9356 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches