Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001124/0.001124, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001207/0.002331, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0006976/0.0006976, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009301/0.001628, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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 0.9168/0.9168, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09939/1.016, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.896/1.896, allocations: 378.2 MB / 0.6076 GB, free: 7.852 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5321/2.428, allocations: 123.3 MB / 0.728 GB, free: 5.824 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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_12_Buildings.Utilities.Math.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 0.7293 GB, free: 4.523 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.763e-05/1.973e-05, allocations: 2.859 kB / 0.7293 GB, free: 4.52 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.001972/0.001991, allocations: 1.559 MB / 0.7309 GB, free: 2.973 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0001562/0.002148, allocations: 93.16 kB / 0.7309 GB, free: 2.883 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.823e-05/0.002176, allocations: 0 / 0.7309 GB, free: 2.883 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.136e-05/0.002197, allocations: 0.5312 kB / 0.7309 GB, free: 2.883 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 2.623e-05/0.002223, allocations: 10.81 kB / 0.731 GB, free: 2.875 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 8.529e-05/0.002309, allocations: 10.61 kB / 0.731 GB, free: 2.867 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 6.998e-05/0.002379, allocations: 29.45 kB / 0.731 GB, free: 2.844 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.291e-05/0.002462, allocations: 4.984 kB / 0.731 GB, free: 2.84 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 8.071e-05/0.002542, allocations: 24.95 kB / 0.731 GB, free: 2.816 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.128e-05/0.002584, allocations: 8.859 kB / 0.731 GB, free: 2.809 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.873e-05/0.002602, allocations: 4.875 kB / 0.731 GB, free: 2.805 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 8.112e-05/0.002683, allocations: 15.98 kB / 0.7311 GB, free: 2.789 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.351e-05/0.002697, allocations: 3.047 kB / 0.7311 GB, free: 2.789 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.453e-05/0.002711, allocations: 4.875 kB / 0.7311 GB, free: 2.785 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001027/0.002814, allocations: 30.66 kB / 0.7311 GB, free: 2.758 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.485e-05/0.002829, allocations: 0 / 0.7311 GB, free: 2.758 MB / 0.698 GB Notification: Performance of FrontEnd: time 7.61e-07/0.00283, allocations: 3.938 kB / 0.7311 GB, free: 2.754 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.288e-05/0.002843, allocations: 0.6875 kB / 0.7311 GB, free: 2.754 MB / 0.698 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.0003259/0.003168, allocations: 246.3 kB / 0.7313 GB, free: 2.488 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.87e-05/0.003197, allocations: 12.03 kB / 0.7313 GB, free: 2.477 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001549/0.003352, allocations: 90.03 kB / 0.7314 GB, free: 2.371 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.014e-05/0.003432, allocations: 101.8 kB / 0.7315 GB, free: 2.246 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.003445, allocations: 6.094 kB / 0.7315 GB, free: 2.242 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.993e-06/0.003452, allocations: 384 / 0.7315 GB, free: 2.242 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.798e-05/0.003549, allocations: 54.94 kB / 0.7316 GB, free: 2.18 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.543e-06/0.003556, allocations: 4.922 kB / 0.7316 GB, free: 2.176 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.773e-06/0.003563, allocations: 8.375 kB / 0.7316 GB, free: 2.168 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.003567, allocations: 1.062 kB / 0.7316 GB, free: 2.168 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.701e-05/0.003594, allocations: 16.62 kB / 0.7316 GB, free: 2.152 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002056/0.0038, allocations: 150.2 kB / 0.7318 GB, free: 1.992 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.999e-05/0.00385, allocations: 26.56 kB / 0.7318 GB, free: 1.957 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.306e-05/0.003863, allocations: 4.859 kB / 0.7318 GB, free: 1.949 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.23e-05/0.003875, allocations: 0.7812 kB / 0.7318 GB, free: 1.949 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.877e-05/0.003894, allocations: 38.62 kB / 0.7318 GB, free: 1.902 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.003895, allocations: 0.6875 kB / 0.7318 GB, free: 1.902 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 9.741e-05/0.003992, allocations: 43.45 kB / 0.7319 GB, free: 1.855 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.867e-05/0.004021, allocations: 55.34 kB / 0.7319 GB, free: 1.789 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.199e-05/0.004073, allocations: 106.7 kB / 0.732 GB, free: 1.672 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.798e-06/0.004083, allocations: 26.42 kB / 0.732 GB, free: 1.641 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.875e-05/0.004111, allocations: 88.12 kB / 0.7321 GB, free: 1.551 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.64e-05/0.004128, allocations: 8.422 kB / 0.7321 GB, free: 1.543 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.444e-05/0.004152, allocations: 9.719 kB / 0.7321 GB, free: 1.527 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.294e-05/0.004225, allocations: 324.5 kB / 0.7325 GB, free: 1.203 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.015e-05/0.004235, allocations: 0 / 0.7325 GB, free: 1.203 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.959e-06/0.004245, allocations: 4.875 kB / 0.7325 GB, free: 1.199 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.846e-05/0.004274, allocations: 18.47 kB / 0.7325 GB, free: 1.18 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.004276, allocations: 0 / 0.7325 GB, free: 1.18 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.72e-05/0.004333, allocations: 41.69 kB / 0.7325 GB, free: 1.133 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.004347, allocations: 8 kB / 0.7325 GB, free: 1.125 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.004351, allocations: 1.203 kB / 0.7325 GB, free: 1.125 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.332e-06/0.004357, allocations: 1.781 kB / 0.7325 GB, free: 1.125 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.179e-05/0.004429, allocations: 11.92 kB / 0.7325 GB, free: 1.113 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.695e-06/0.004432, allocations: 0 / 0.7325 GB, free: 1.113 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.812e-05/0.00445, allocations: 4 kB / 0.7325 GB, free: 1.109 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.637e-06/0.004453, allocations: 0.875 kB / 0.7325 GB, free: 1.109 MB / 0.698 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.861e-05/0.004502, allocations: 110.8 kB / 0.7326 GB, free: 0.9922 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.256e-05/0.004515, allocations: 0.75 kB / 0.7326 GB, free: 0.9922 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.755e-05/0.004542, allocations: 15.61 kB / 0.7327 GB, free: 0.9727 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-06/0.004543, allocations: 0.875 kB / 0.7327 GB, free: 0.9727 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.004547, allocations: 3.938 kB / 0.7327 GB, free: 0.9688 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.004549, allocations: 0 / 0.7327 GB, free: 0.9688 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.155e-05/0.004631, allocations: 62.94 kB / 0.7327 GB, free: 0.8906 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.004633, allocations: 4.984 kB / 0.7327 GB, free: 0.8867 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.858e-05/0.004661, allocations: 12.61 kB / 0.7327 GB, free: 0.875 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5e-06/0.004666, allocations: 0 / 0.7327 GB, free: 0.875 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.004668, allocations: 4.719 kB / 0.7327 GB, free: 0.8711 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.918e-06/0.004672, allocations: 0 / 0.7327 GB, free: 0.8711 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.32e-07/0.004673, allocations: 0.5312 kB / 0.7327 GB, free: 0.8711 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.004675, allocations: 3.938 kB / 0.7328 GB, free: 0.8672 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.89e-05/0.004753, allocations: 132.7 kB / 0.7329 GB, free: 0.7227 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.468e-06/0.004763, allocations: 4 kB / 0.7329 GB, free: 0.7188 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.163e-05/0.004795, allocations: 6 kB / 0.7329 GB, free: 0.7148 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.799e-05/0.004823, allocations: 8 kB / 0.7329 GB, free: 0.707 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-06/0.004824, allocations: 1.781 kB / 0.7329 GB, free: 0.707 MB / 0.698 GB Notification: Performance of sorting global known variables: time 1.453e-05/0.004839, allocations: 20.77 kB / 0.7329 GB, free: 0.6836 MB / 0.698 GB Notification: Performance of sort global known variables: time 5e-08/0.004839, allocations: 0 / 0.7329 GB, free: 0.6836 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001097/0.004949, allocations: 4 kB / 0.7329 GB, free: 0.6797 MB / 0.698 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 6.676e-05/0.005015, allocations: 81.58 kB / 0.733 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 5.582e-05/0.005071, allocations: 12.86 kB / 0.733 GB, free: 0.5781 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.005075, allocations: 0.75 kB / 0.733 GB, free: 0.5781 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.534e-05/0.005091, allocations: 9.953 kB / 0.733 GB, free: 0.5664 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001419/0.005233, allocations: 8.609 kB / 0.733 GB, free: 0.5586 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003421/0.005575, allocations: 114.9 kB / 0.7331 GB, free: 432 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.156e-05/0.005606, allocations: 59.34 kB / 0.7332 GB, free: 352 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.857e-05/0.005625, allocations: 0.6875 kB / 0.7332 GB, free: 352 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.323e-05/0.005668, allocations: 54.16 kB / 0.7332 GB, free: 300 kB / 0.698 GB Notification: Performance of SimCode: time 4.61e-07/0.005668, allocations: 3.938 kB / 0.7333 GB, free: 296 kB / 0.698 GB Notification: Performance of Templates: time 0.002381/0.008049, allocations: 0.6718 MB / 0.7339 GB, free: 15.65 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized/Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.882933651097119]