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.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.0008468/0.0008468, allocations: 80.48 kB / 19.93 MB, free: 4.633 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.0008762/0.0008762, allocations: 173.9 kB / 23.21 MB, free: 1.348 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 0.9026/0.9026, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.656/1.656, allocations: 359 MB / 0.6044 GB, free: 11.12 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_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 1.543e-06/1.543e-06, allocations: 0 / 0.9517 GB, free: 3.027 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.565e-05/2.719e-05, allocations: 10.16 kB / 0.9517 GB, free: 3.016 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.001941/0.001968, allocations: 1.452 MB / 0.9532 GB, free: 1.547 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0002474/0.002216, allocations: 91.67 kB / 0.9532 GB, free: 1.457 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.471e-05/0.002251, allocations: 0 / 0.9532 GB, free: 1.457 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.136e-05/0.002282, allocations: 7.938 kB / 0.9532 GB, free: 1.449 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 3.914e-05/0.002321, allocations: 0 / 0.9532 GB, free: 1.449 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.00021/0.002531, allocations: 19.92 kB / 0.9533 GB, free: 1.43 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 6.552e-05/0.002597, allocations: 23.86 kB / 0.9533 GB, free: 1.406 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.039e-05/0.002687, allocations: 8 kB / 0.9533 GB, free: 1.398 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 6.173e-05/0.002749, allocations: 15.97 kB / 0.9533 GB, free: 1.383 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 3.278e-05/0.002782, allocations: 7.984 kB / 0.9533 GB, free: 1.375 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.729e-05/0.002799, allocations: 8 kB / 0.9533 GB, free: 1.367 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 5.777e-05/0.002857, allocations: 15.98 kB / 0.9533 GB, free: 1.352 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.542e-05/0.002872, allocations: 4 kB / 0.9533 GB, free: 1.348 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.784e-05/0.00289, allocations: 11.88 kB / 0.9534 GB, free: 1.336 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001124/0.003002, allocations: 31.95 kB / 0.9534 GB, free: 1.305 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.003005, allocations: 0 / 0.9534 GB, free: 1.305 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.283e-06/0.003006, allocations: 0 / 0.9534 GB, free: 1.305 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.00301, allocations: 0 / 0.9534 GB, free: 1.305 MB / 0.9011 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.0003603/0.00337, allocations: 266.3 kB / 0.9536 GB, free: 1.012 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.003407, allocations: 12.03 kB / 0.9537 GB, free: 1 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001232/0.003531, allocations: 24.8 kB / 0.9537 GB, free: 0.9766 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.729e-05/0.003608, allocations: 113.7 kB / 0.9538 GB, free: 0.8398 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.986e-05/0.003628, allocations: 384 / 0.9538 GB, free: 0.8398 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.888e-06/0.003638, allocations: 4.375 kB / 0.9538 GB, free: 0.8359 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/0.00377, allocations: 58.23 kB / 0.9538 GB, free: 0.7734 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.003778, allocations: 192 / 0.9538 GB, free: 0.7734 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.003787, allocations: 384 / 0.9538 GB, free: 0.7734 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.003792, allocations: 4.359 kB / 0.9539 GB, free: 0.7695 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001129/0.003905, allocations: 59.77 kB / 0.9539 GB, free: 0.7109 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000294/0.004199, allocations: 204.6 kB / 0.9541 GB, free: 492 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001039/0.004303, allocations: 50.55 kB / 0.9542 GB, free: 432 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.63e-05/0.004359, allocations: 32.89 kB / 0.9542 GB, free: 396 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.497e-05/0.004374, allocations: 0 / 0.9542 GB, free: 396 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.004396, allocations: 34.56 kB / 0.9542 GB, free: 352 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 8.01e-07/0.004397, allocations: 4 kB / 0.9542 GB, free: 348 kB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0002648/0.004661, allocations: 105.5 kB / 0.9543 GB, free: 236 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.239e-05/0.004694, allocations: 55.41 kB / 0.9544 GB, free: 168 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.494e-05/0.004759, allocations: 105.8 kB / 0.9545 GB, free: 52 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.034e-05/0.004769, allocations: 25.7 kB / 0.9545 GB, free: 20 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 6.012e-05/0.004829, allocations: 80.14 kB / 0.9546 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.958e-05/0.004849, allocations: 12.08 kB / 0.9546 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.085e-05/0.00488, allocations: 17.7 kB / 0.9546 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.624e-05/0.004956, allocations: 314.8 kB / 0.9549 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.022e-05/0.005016, allocations: 23.97 kB / 0.9549 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.629e-05/0.005062, allocations: 19.98 kB / 0.9549 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000102/0.005164, allocations: 60.81 kB / 0.955 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.005167, allocations: 0 / 0.955 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001295/0.005296, allocations: 77.64 kB / 0.9551 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.005311, allocations: 6.5 kB / 0.9551 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.005317, allocations: 3.938 kB / 0.9551 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.00533, allocations: 0 / 0.9551 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.251e-05/0.005402, allocations: 15.98 kB / 0.9551 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.157e-06/0.005406, allocations: 4.031 kB / 0.9551 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.818e-05/0.005435, allocations: 7.984 kB / 0.9551 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/0.005441, allocations: 3.984 kB / 0.9551 GB, free: 15.36 MB / 0.9167 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 5.642e-05/0.005497, allocations: 109.8 kB / 0.9552 GB, free: 15.24 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.4e-05/0.005511, allocations: 3.953 kB / 0.9552 GB, free: 15.24 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.312e-05/0.005544, allocations: 15.56 kB / 0.9552 GB, free: 15.22 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.005546, allocations: 0 / 0.9552 GB, free: 15.22 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.00555, allocations: 0 / 0.9552 GB, free: 15.22 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.005556, allocations: 0 / 0.9552 GB, free: 15.22 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.523e-05/0.005651, allocations: 109.6 kB / 0.9553 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.005654, allocations: 11.94 kB / 0.9554 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.606e-05/0.00569, allocations: 15.92 kB / 0.9554 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.005691, allocations: 3.938 kB / 0.9554 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-06/0.005699, allocations: 0 / 0.9554 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.005701, allocations: 3.938 kB / 0.9554 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.005702, allocations: 0 / 0.9554 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001639/0.005866, allocations: 171.5 kB / 0.9555 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.216e-06/0.005874, allocations: 11.98 kB / 0.9556 GB, free: 14.85 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.125e-05/0.005885, allocations: 0 / 0.9556 GB, free: 14.85 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.206e-05/0.005927, allocations: 11.92 kB / 0.9556 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.45e-05/0.005962, allocations: 3.984 kB / 0.9556 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-06/0.005965, allocations: 0 / 0.9556 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.945e-05/0.005994, allocations: 87.28 kB / 0.9557 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.005994, allocations: 0 / 0.9557 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001416/0.006136, allocations: 4 kB / 0.9557 GB, free: 14.75 MB / 0.9167 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 9.293e-05/0.006229, allocations: 95.25 kB / 0.9557 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001553/0.006384, allocations: 59.88 kB / 0.9558 GB, free: 14.59 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.183e-06/0.006385, allocations: 0 / 0.9558 GB, free: 14.59 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.173e-05/0.006437, allocations: 23.98 kB / 0.9558 GB, free: 14.56 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002389/0.006676, allocations: 3.984 kB / 0.9558 GB, free: 14.56 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003092/0.006985, allocations: 162.5 kB / 0.956 GB, free: 14.37 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.628e-05/0.007031, allocations: 63.34 kB / 0.956 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.207e-05/0.007063, allocations: 8.5 kB / 0.9561 GB, free: 14.28 MB / 0.9167 GB Notification: Performance of SimCode: time 7.41e-07/0.007064, allocations: 0 / 0.9561 GB, free: 14.28 MB / 0.9167 GB Notification: Performance of Templates: time 0.001626/0.00869, allocations: 0.654 MB / 0.9567 GB, free: 13.63 MB / 0.9167 GB " [Timeout remaining time 300] 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: 6.447364239953458]