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.001877/0.001877, allocations: 88.39 kB / 20.23 MB, free: 4.172 MB / 18.57 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.002148/0.002148, allocations: 161.3 kB / 23.55 MB, free: 0.8633 MB / 18.57 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.466/1.466, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.866/2.866, allocations: 377.8 MB / 0.6232 GB, free: 8.535 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.014e-06/2.014e-06, allocations: 0 / 0.8108 GB, free: 2.105 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.893e-05/3.095e-05, allocations: 4.703 kB / 0.8108 GB, free: 2.102 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.002993/0.003024, allocations: 1.458 MB / 0.8122 GB, free: 0.6562 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0002843/0.003308, allocations: 89.39 kB / 0.8123 GB, free: 0.5703 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.807e-05/0.003346, allocations: 0 / 0.8123 GB, free: 0.5703 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.765e-05/0.003374, allocations: 0.875 kB / 0.8123 GB, free: 0.5703 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 5.322e-05/0.003427, allocations: 8.641 kB / 0.8123 GB, free: 0.5625 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001969/0.003624, allocations: 25.59 kB / 0.8124 GB, free: 0.5391 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 8.197e-05/0.003706, allocations: 19.94 kB / 0.8124 GB, free: 0.5195 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 9.801e-05/0.003804, allocations: 11.97 kB / 0.8124 GB, free: 0.5078 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 5.894e-05/0.003863, allocations: 8 kB / 0.8124 GB, free: 0.5 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.311e-05/0.003906, allocations: 17.45 kB / 0.8124 GB, free: 496 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.546e-05/0.003921, allocations: 0 / 0.8124 GB, free: 496 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 7.321e-05/0.003995, allocations: 19.98 kB / 0.8124 GB, free: 476 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.392e-05/0.004008, allocations: 0 / 0.8124 GB, free: 476 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.765e-05/0.004036, allocations: 7.984 kB / 0.8124 GB, free: 468 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001348/0.004171, allocations: 44.91 kB / 0.8125 GB, free: 424 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.004174, allocations: 0 / 0.8125 GB, free: 424 kB / 0.7605 GB Notification: Performance of FrontEnd: time 8.32e-07/0.004174, allocations: 0 / 0.8125 GB, free: 424 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.004179, allocations: 1.5 kB / 0.8125 GB, free: 424 kB / 0.7605 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.0005057/0.004684, allocations: 266.3 kB / 0.8127 GB, free: 124 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.004726, allocations: 8.031 kB / 0.8127 GB, free: 116 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002056/0.004932, allocations: 17.45 kB / 0.8128 GB, free: 100 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001554/0.005087, allocations: 118.4 kB / 0.8129 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.005105, allocations: 384 / 0.8129 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.267e-05/0.005118, allocations: 4.906 kB / 0.8129 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002126/0.005331, allocations: 59.81 kB / 0.8129 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.005342, allocations: 4.172 kB / 0.8129 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.005353, allocations: 384 / 0.8129 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.005357, allocations: 1 kB / 0.8129 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002373/0.005595, allocations: 52.58 kB / 0.813 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000431/0.006026, allocations: 209.2 kB / 0.8132 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001942/0.00622, allocations: 47.83 kB / 0.8132 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001223/0.006342, allocations: 30.28 kB / 0.8133 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.00636, allocations: 0 / 0.8133 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.03e-05/0.0064, allocations: 40.3 kB / 0.8133 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.006401, allocations: 0 / 0.8133 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0005005/0.006902, allocations: 111.7 kB / 0.8134 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.954e-05/0.006951, allocations: 51.41 kB / 0.8135 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.007057, allocations: 101.9 kB / 0.8136 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/0.00708, allocations: 25.7 kB / 0.8136 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.91e-05/0.007149, allocations: 92.12 kB / 0.8137 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.824e-05/0.007167, allocations: 7.172 kB / 0.8137 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.117e-05/0.007208, allocations: 9.719 kB / 0.8137 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003043/0.007513, allocations: 322.8 kB / 0.814 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/0.007641, allocations: 23.97 kB / 0.814 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001063/0.007747, allocations: 23.97 kB / 0.814 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002195/0.007967, allocations: 54.41 kB / 0.8141 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.007968, allocations: 0 / 0.8141 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002689/0.008237, allocations: 83.67 kB / 0.8142 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.008253, allocations: 4 kB / 0.8142 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.00826, allocations: 4.906 kB / 0.8142 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.008279, allocations: 0 / 0.8142 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.008397, allocations: 14.3 kB / 0.8142 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.008402, allocations: 0 / 0.8142 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.872e-05/0.008471, allocations: 11.98 kB / 0.8142 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.008477, allocations: 0 / 0.8142 GB, free: 14.5 MB / 0.7761 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.719e-05/0.008574, allocations: 109.8 kB / 0.8143 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.984e-05/0.008604, allocations: 4 kB / 0.8143 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.99e-05/0.008634, allocations: 12.36 kB / 0.8143 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.008636, allocations: 0 / 0.8143 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.00864, allocations: 0.9375 kB / 0.8143 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.893e-06/0.008642, allocations: 0 / 0.8143 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001702/0.008812, allocations: 114.8 kB / 0.8144 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.008813, allocations: 0 / 0.8144 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.294e-05/0.008906, allocations: 19.92 kB / 0.8145 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.008908, allocations: 0.9688 kB / 0.8145 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.687e-06/0.008917, allocations: 0 / 0.8145 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.099e-06/0.008922, allocations: 3.938 kB / 0.8145 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.008923, allocations: 0.9062 kB / 0.8145 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003566/0.00928, allocations: 180.5 kB / 0.8146 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.035e-06/0.009288, allocations: 1.031 kB / 0.8146 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.009303, allocations: 0 / 0.8146 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.009412, allocations: 13.02 kB / 0.8146 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.139e-05/0.009453, allocations: 4 kB / 0.8146 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-06/0.009458, allocations: 0 / 0.8146 GB, free: 14 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.102e-05/0.009519, allocations: 84.34 kB / 0.8147 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.009519, allocations: 0 / 0.8147 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002295/0.009748, allocations: 8 kB / 0.8147 GB, free: 13.91 MB / 0.7761 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.0001414/0.00989, allocations: 100.2 kB / 0.8148 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003223/0.01021, allocations: 54.11 kB / 0.8149 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.01021, allocations: 0 / 0.8149 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002003/0.01042, allocations: 29.16 kB / 0.8149 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000399/0.01081, allocations: 4 kB / 0.8149 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004408/0.01125, allocations: 133.6 kB / 0.815 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.385e-05/0.01134, allocations: 60 kB / 0.8151 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.301e-05/0.01137, allocations: 11.25 kB / 0.8151 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.956e-05/0.01141, allocations: 8.5 kB / 0.8151 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of SimCode: time 9.62e-07/0.01141, allocations: 0 / 0.8151 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of Templates: time 0.004354/0.01577, allocations: 0.6543 MB / 0.8158 GB, free: 12.82 MB / 0.7761 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_PowerLinearized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 7.688106892979704]