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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001701/0.001701, allocations: 79.66 kB / 19.76 MB, free: 2.031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002047/0.002047, allocations: 156.5 kB / 23.01 MB, free: 4.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.451/1.451, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.859/2.859, allocations: 394.2 MB / 0.6387 GB, free: 11.93 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002114/0.002114, allocations: 67.88 kB / 1.009 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.833/0.8351, allocations: 181.8 MB / 1.187 GB, free: 16.2 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.002356/0.8375, allocations: 1.468 MB / 1.188 GB, free: 15.19 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0002498/0.8377, allocations: 99.2 kB / 1.188 GB, free: 15.12 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.37e-05/0.8378, allocations: 0 / 1.188 GB, free: 15.12 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.704e-05/0.8378, allocations: 0.6094 kB / 1.188 GB, free: 15.12 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 3.516e-05/0.8378, allocations: 5.312 kB / 1.188 GB, free: 15.12 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001843/0.838, allocations: 18.12 kB / 1.188 GB, free: 15.11 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 6.614e-05/0.8381, allocations: 28.97 kB / 1.188 GB, free: 15.1 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 8.815e-05/0.8382, allocations: 7.703 kB / 1.188 GB, free: 15.09 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 3.512e-05/0.8382, allocations: 9.391 kB / 1.188 GB, free: 15.09 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 3.643e-05/0.8382, allocations: 13.47 kB / 1.188 GB, free: 15.08 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.379e-05/0.8382, allocations: 7.312 kB / 1.188 GB, free: 15.08 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 6.593e-05/0.8383, allocations: 20.11 kB / 1.188 GB, free: 15.07 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.535e-05/0.8383, allocations: 1.359 kB / 1.188 GB, free: 15.07 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.121e-05/0.8384, allocations: 12.17 kB / 1.188 GB, free: 15.06 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001033/0.8385, allocations: 35.33 kB / 1.188 GB, free: 15.05 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.8385, allocations: 0 / 1.188 GB, free: 15.05 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.483e-06/0.8385, allocations: 0 / 1.188 GB, free: 15.05 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.439e-06/0.8385, allocations: 0.9688 kB / 1.188 GB, free: 15.05 MB / 1.076 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.0003489/0.8388, allocations: 265.3 kB / 1.189 GB, free: 14.78 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.8388, allocations: 10.16 kB / 1.189 GB, free: 14.78 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001528/0.839, allocations: 16.03 kB / 1.189 GB, free: 14.78 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.131e-05/0.8391, allocations: 118.9 kB / 1.189 GB, free: 14.64 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.939e-05/0.8391, allocations: 1.438 kB / 1.189 GB, free: 14.64 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.245e-05/0.8391, allocations: 1.562 kB / 1.189 GB, free: 14.64 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/0.8393, allocations: 60.23 kB / 1.189 GB, free: 14.6 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.8393, allocations: 4.125 kB / 1.189 GB, free: 14.6 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.938e-06/0.8393, allocations: 5.156 kB / 1.189 GB, free: 14.59 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.8393, allocations: 0.7031 kB / 1.189 GB, free: 14.59 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002113/0.8395, allocations: 48.22 kB / 1.189 GB, free: 14.59 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002775/0.8398, allocations: 203.4 kB / 1.189 GB, free: 14.38 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000174/0.84, allocations: 51.84 kB / 1.189 GB, free: 14.35 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.8401, allocations: 28.52 kB / 1.189 GB, free: 14.34 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.8401, allocations: 9.781 kB / 1.189 GB, free: 14.33 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.567e-05/0.8401, allocations: 36.25 kB / 1.189 GB, free: 14.29 MB / 1.076 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.8401, allocations: 4 kB / 1.189 GB, free: 14.28 MB / 1.076 GB Notification: Performance of matching and sorting (n=2): time 0.0004054/0.8405, allocations: 104.3 kB / 1.189 GB, free: 14.23 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.931e-05/0.8405, allocations: 52.25 kB / 1.189 GB, free: 14.17 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.434e-05/0.8406, allocations: 103.9 kB / 1.189 GB, free: 14.07 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 7.123e-06/0.8406, allocations: 26.92 kB / 1.189 GB, free: 14.04 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 2.466e-05/0.8406, allocations: 81.92 kB / 1.189 GB, free: 13.96 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.695e-05/0.8406, allocations: 13.91 kB / 1.189 GB, free: 13.95 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.785e-05/0.8407, allocations: 12.88 kB / 1.189 GB, free: 13.93 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 3.993e-05/0.8407, allocations: 313.4 kB / 1.19 GB, free: 13.62 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001091/0.8408, allocations: 24.33 kB / 1.19 GB, free: 13.61 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.881e-05/0.8409, allocations: 27.88 kB / 1.19 GB, free: 13.61 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000201/0.8411, allocations: 55.34 kB / 1.19 GB, free: 13.59 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.8411, allocations: 0 / 1.19 GB, free: 13.59 MB / 1.076 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000236/0.8414, allocations: 85.91 kB / 1.19 GB, free: 13.54 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.8414, allocations: 6.312 kB / 1.19 GB, free: 13.54 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.8414, allocations: 0 / 1.19 GB, free: 13.54 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.8414, allocations: 1.094 kB / 1.19 GB, free: 13.54 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.8415, allocations: 15.89 kB / 1.19 GB, free: 13.54 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.8415, allocations: 3.938 kB / 1.19 GB, free: 13.53 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.405e-05/0.8416, allocations: 12.25 kB / 1.19 GB, free: 13.53 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.513e-06/0.8416, allocations: 1.188 kB / 1.19 GB, free: 13.53 MB / 1.076 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 4.817e-05/0.8416, allocations: 113 kB / 1.19 GB, free: 13.41 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.49e-05/0.8416, allocations: 5.812 kB / 1.19 GB, free: 13.41 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.672e-05/0.8417, allocations: 9.594 kB / 1.19 GB, free: 13.39 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.8417, allocations: 0 / 1.19 GB, free: 13.39 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.8417, allocations: 0 / 1.19 GB, free: 13.39 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.8417, allocations: 2.109 kB / 1.19 GB, free: 13.39 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001026/0.8418, allocations: 107.6 kB / 1.19 GB, free: 13.27 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.8418, allocations: 4 kB / 1.19 GB, free: 13.27 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.978e-05/0.8419, allocations: 10.94 kB / 1.19 GB, free: 13.27 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.8419, allocations: 3.938 kB / 1.19 GB, free: 13.26 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.8419, allocations: 1.75 kB / 1.19 GB, free: 13.26 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.8419, allocations: 0 / 1.19 GB, free: 13.26 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.8419, allocations: 0.6562 kB / 1.19 GB, free: 13.26 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002679/0.8421, allocations: 170.5 kB / 1.19 GB, free: 13.12 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 9.137e-06/0.8421, allocations: 14.23 kB / 1.19 GB, free: 13.11 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.386e-05/0.8422, allocations: 0.6562 kB / 1.19 GB, free: 13.11 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.526e-05/0.8423, allocations: 16.44 kB / 1.19 GB, free: 13.11 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.998e-05/0.8423, allocations: 2.438 kB / 1.19 GB, free: 13.11 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.8423, allocations: 6.094 kB / 1.19 GB, free: 13.1 MB / 1.076 GB Notification: Performance of sorting global known variables: time 2.545e-05/0.8423, allocations: 81.25 kB / 1.191 GB, free: 13.03 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.8423, allocations: 0 / 1.191 GB, free: 13.03 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002291/0.8426, allocations: 9.344 kB / 1.191 GB, free: 13.02 MB / 1.076 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.000107/0.8427, allocations: 93.05 kB / 1.191 GB, free: 12.94 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002751/0.8429, allocations: 54.42 kB / 1.191 GB, free: 12.93 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.8429, allocations: 0 / 1.191 GB, free: 12.93 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001129/0.8431, allocations: 22.19 kB / 1.191 GB, free: 12.93 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002922/0.8433, allocations: 10.92 kB / 1.191 GB, free: 12.92 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003389/0.8437, allocations: 130.6 kB / 1.191 GB, free: 12.8 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.75e-05/0.8437, allocations: 62.36 kB / 1.191 GB, free: 12.73 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.794e-05/0.8438, allocations: 1.344 kB / 1.191 GB, free: 12.73 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.857e-05/0.8438, allocations: 9.75 kB / 1.191 GB, free: 12.72 MB / 1.076 GB Notification: Performance of SimCode: time 3.81e-07/0.8438, allocations: 0 / 1.191 GB, free: 12.72 MB / 1.076 GB Notification: Performance of Templates: time 0.0033/0.8471, allocations: 0.6517 MB / 1.192 GB, free: 12.61 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.makefile [Timeout 300] (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=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.44218016997911]