Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001603/0.001603, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001867/0.001867, allocations: 190.5 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.479/1.479, allocations: 225.6 MB / 251 MB, free: 12.99 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.882/2.882, allocations: 476.7 MB / 0.7646 GB, free: 9.871 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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=2500,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002022/0.002022, allocations: 67.89 kB / 1.11 GB, free: 6.297 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8021/0.8041, allocations: 168.8 MB / 1.274 GB, free: 4.172 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.002856/0.8069, allocations: 1.464 MB / 1.276 GB, free: 2.703 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0003188/0.8073, allocations: 91.81 kB / 1.276 GB, free: 2.613 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.653e-05/0.8073, allocations: 0 / 1.276 GB, free: 2.613 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.73e-05/0.8073, allocations: 3.938 kB / 1.276 GB, free: 2.609 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.576e-05/0.8074, allocations: 3.938 kB / 1.276 GB, free: 2.605 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002087/0.8076, allocations: 15.98 kB / 1.276 GB, free: 2.59 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.906e-05/0.8077, allocations: 27.91 kB / 1.276 GB, free: 2.562 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.8078, allocations: 11.98 kB / 1.276 GB, free: 2.551 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.761e-05/0.8078, allocations: 11.94 kB / 1.276 GB, free: 2.539 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.317e-05/0.8079, allocations: 11.98 kB / 1.276 GB, free: 2.527 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.356e-05/0.8079, allocations: 0 / 1.276 GB, free: 2.527 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 6.395e-05/0.8079, allocations: 15.98 kB / 1.276 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.697e-05/0.808, allocations: 7.938 kB / 1.276 GB, free: 2.504 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.467e-05/0.808, allocations: 7.938 kB / 1.276 GB, free: 2.496 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001256/0.8081, allocations: 38.55 kB / 1.276 GB, free: 2.461 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.8081, allocations: 0 / 1.276 GB, free: 2.461 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.282e-06/0.8081, allocations: 4 kB / 1.276 GB, free: 2.457 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.8081, allocations: 0 / 1.276 GB, free: 2.457 MB / 0.9669 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.0005188/0.8086, allocations: 270 kB / 1.276 GB, free: 2.164 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.8087, allocations: 12.03 kB / 1.276 GB, free: 2.152 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001818/0.8089, allocations: 12.92 kB / 1.276 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/0.809, allocations: 118.3 kB / 1.276 GB, free: 2 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.092e-05/0.809, allocations: 8.375 kB / 1.276 GB, free: 1.992 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.378e-06/0.809, allocations: 384 / 1.276 GB, free: 1.992 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002091/0.8092, allocations: 62.22 kB / 1.276 GB, free: 1.926 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.8092, allocations: 192 / 1.276 GB, free: 1.926 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.8093, allocations: 3.938 kB / 1.276 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.8093, allocations: 0 / 1.276 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002398/0.8095, allocations: 47.95 kB / 1.277 GB, free: 1.875 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000425/0.8099, allocations: 236 kB / 1.277 GB, free: 1.602 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002035/0.8101, allocations: 58.48 kB / 1.277 GB, free: 1.535 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001253/0.8103, allocations: 32.89 kB / 1.277 GB, free: 1.5 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.8103, allocations: 0 / 1.277 GB, free: 1.5 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.8103, allocations: 30.56 kB / 1.277 GB, free: 1.461 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 8.61e-07/0.8103, allocations: 0 / 1.277 GB, free: 1.461 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0004591/0.8108, allocations: 109.6 kB / 1.277 GB, free: 1.348 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.574e-05/0.8108, allocations: 51.41 kB / 1.277 GB, free: 1.285 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.049e-05/0.8109, allocations: 105.8 kB / 1.277 GB, free: 1.172 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.8109, allocations: 25.7 kB / 1.277 GB, free: 1.141 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.874e-05/0.811, allocations: 80.14 kB / 1.277 GB, free: 1.059 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.885e-05/0.811, allocations: 8.078 kB / 1.277 GB, free: 1.051 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.895e-05/0.811, allocations: 17.72 kB / 1.277 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.8112, allocations: 314.8 kB / 1.278 GB, free: 0.7109 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.8113, allocations: 27.92 kB / 1.278 GB, free: 0.6836 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000107/0.8114, allocations: 23.97 kB / 1.278 GB, free: 0.6602 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002257/0.8116, allocations: 52.88 kB / 1.278 GB, free: 0.6055 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.8116, allocations: 4 kB / 1.278 GB, free: 0.6016 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002718/0.8119, allocations: 89.47 kB / 1.278 GB, free: 0.5078 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.8119, allocations: 4 kB / 1.278 GB, free: 0.5039 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.8119, allocations: 4 kB / 1.278 GB, free: 0.5 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.812, allocations: 0 / 1.278 GB, free: 0.5 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.8121, allocations: 16.02 kB / 1.278 GB, free: 496 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.8121, allocations: 0 / 1.278 GB, free: 496 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.644e-05/0.8121, allocations: 4 kB / 1.278 GB, free: 492 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.096e-06/0.8121, allocations: 3.984 kB / 1.278 GB, free: 488 kB / 0.9669 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.398e-05/0.8122, allocations: 113.8 kB / 1.278 GB, free: 364 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.467e-05/0.8123, allocations: 0 / 1.278 GB, free: 364 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.913e-05/0.8123, allocations: 7.625 kB / 1.278 GB, free: 356 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.8123, allocations: 4 kB / 1.278 GB, free: 352 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.8123, allocations: 0 / 1.278 GB, free: 352 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.8123, allocations: 4 kB / 1.278 GB, free: 348 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001682/0.8125, allocations: 132.9 kB / 1.278 GB, free: 172 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.8125, allocations: 4 kB / 1.278 GB, free: 168 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.492e-05/0.8126, allocations: 15.92 kB / 1.278 GB, free: 152 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.8126, allocations: 0 / 1.278 GB, free: 152 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.8126, allocations: 0 / 1.278 GB, free: 152 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.8126, allocations: 4 kB / 1.278 GB, free: 148 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.8126, allocations: 0 / 1.278 GB, free: 148 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003444/0.8129, allocations: 187.4 kB / 1.278 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.536e-06/0.8129, allocations: 3.953 kB / 1.278 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.446e-05/0.8129, allocations: 0 / 1.278 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.766e-05/0.813, allocations: 7.984 kB / 1.278 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.081e-05/0.8131, allocations: 7.984 kB / 1.278 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/0.8131, allocations: 4.031 kB / 1.278 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.694e-05/0.8131, allocations: 83.28 kB / 1.278 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.8131, allocations: 0 / 1.278 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002219/0.8134, allocations: 4 kB / 1.278 GB, free: 15.84 MB / 0.9825 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.0001044/0.8135, allocations: 95.25 kB / 1.278 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000297/0.8138, allocations: 59.88 kB / 1.278 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.8138, allocations: 3.938 kB / 1.278 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001169/0.8139, allocations: 23.98 kB / 1.278 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002599/0.8141, allocations: 5.969 kB / 1.278 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003419/0.8145, allocations: 129.5 kB / 1.279 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003279/0.8148, allocations: 0.6808 MB / 1.279 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.819e-05/0.8148, allocations: 0 / 1.279 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.164e-05/0.8149, allocations: 7.438 kB / 1.279 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.8149, allocations: 0 / 1.279 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of Templates: time 0.00303/0.8179, allocations: 0.5972 MB / 1.28 GB, free: 14.19 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_PowerLinearized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.72816145978868]