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.001849/0.001849, allocations: 78.48 kB / 19.18 MB, free: 2.531 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.002283/0.002283, allocations: 171.7 kB / 22.47 MB, free: 5.359 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.465/1.465, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] 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 2.819/2.819, allocations: 359 MB / 0.6037 GB, free: 14.98 MB / 0.5762 GB " [Timeout remaining time 176] 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.723e-06/1.723e-06, allocations: 0 / 0.951 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.031e-05/4.203e-05, allocations: 4.109 kB / 0.951 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.002604/0.002646, allocations: 1.464 MB / 0.9524 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0002869/0.002933, allocations: 87.75 kB / 0.9525 GB, free: 9.988 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.765e-05/0.002971, allocations: 4 kB / 0.9525 GB, free: 9.984 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.769e-05/0.002999, allocations: 3.938 kB / 0.9525 GB, free: 9.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.768e-05/0.003036, allocations: 3.938 kB / 0.9525 GB, free: 9.977 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002156/0.003252, allocations: 19.91 kB / 0.9525 GB, free: 9.957 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.385e-05/0.003326, allocations: 23.94 kB / 0.9525 GB, free: 9.934 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.379e-05/0.00342, allocations: 3.984 kB / 0.9525 GB, free: 9.93 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.072e-05/0.00347, allocations: 11.94 kB / 0.9525 GB, free: 9.918 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.81e-05/0.003508, allocations: 15.98 kB / 0.9526 GB, free: 9.902 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.94e-05/0.003528, allocations: 4 kB / 0.9526 GB, free: 9.898 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 6.477e-05/0.003593, allocations: 15.97 kB / 0.9526 GB, free: 9.883 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.574e-05/0.003608, allocations: 4 kB / 0.9526 GB, free: 9.879 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.42e-05/0.003632, allocations: 19.86 kB / 0.9526 GB, free: 9.859 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001145/0.003747, allocations: 31.89 kB / 0.9526 GB, free: 9.828 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.00375, allocations: 0 / 0.9526 GB, free: 9.828 MB / 0.8575 GB Notification: Performance of FrontEnd: time 4.8e-07/0.00375, allocations: 0 / 0.9526 GB, free: 9.828 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.847e-06/0.003759, allocations: 0 / 0.9526 GB, free: 9.828 MB / 0.8575 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.0004684/0.004228, allocations: 266.3 kB / 0.9529 GB, free: 9.535 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.004268, allocations: 16.03 kB / 0.9529 GB, free: 9.52 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001628/0.004431, allocations: 16.88 kB / 0.9529 GB, free: 9.504 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001173/0.004548, allocations: 109.7 kB / 0.953 GB, free: 9.371 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.935e-05/0.004567, allocations: 4.375 kB / 0.953 GB, free: 9.367 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.338e-05/0.004581, allocations: 4.375 kB / 0.953 GB, free: 9.363 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001981/0.004779, allocations: 58.22 kB / 0.9531 GB, free: 9.301 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.004787, allocations: 192 / 0.9531 GB, free: 9.301 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.248e-06/0.004796, allocations: 384 / 0.9531 GB, free: 9.301 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.0048, allocations: 384 / 0.9531 GB, free: 9.301 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000232/0.005032, allocations: 55.89 kB / 0.9531 GB, free: 9.246 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003661/0.005398, allocations: 208.5 kB / 0.9533 GB, free: 9.012 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000189/0.005587, allocations: 54.55 kB / 0.9534 GB, free: 8.949 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001173/0.005704, allocations: 28.91 kB / 0.9534 GB, free: 8.918 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.171e-05/0.005716, allocations: 0 / 0.9534 GB, free: 8.918 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/0.005741, allocations: 38.55 kB / 0.9535 GB, free: 8.871 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 2.585e-06/0.005743, allocations: 7.922 kB / 0.9535 GB, free: 8.863 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0004534/0.006197, allocations: 113.5 kB / 0.9536 GB, free: 8.746 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.699e-05/0.006234, allocations: 51.41 kB / 0.9536 GB, free: 8.684 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.1e-05/0.006325, allocations: 101.9 kB / 0.9537 GB, free: 8.574 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.006343, allocations: 25.7 kB / 0.9537 GB, free: 8.543 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.132e-05/0.006394, allocations: 92.25 kB / 0.9538 GB, free: 8.449 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.641e-05/0.00641, allocations: 7.953 kB / 0.9538 GB, free: 8.441 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.65e-05/0.006447, allocations: 9.719 kB / 0.9539 GB, free: 8.426 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.006582, allocations: 318.8 kB / 0.9542 GB, free: 8.105 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001175/0.006699, allocations: 19.97 kB / 0.9542 GB, free: 8.086 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.982e-05/0.006799, allocations: 23.97 kB / 0.9542 GB, free: 8.062 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002071/0.007006, allocations: 56.88 kB / 0.9543 GB, free: 8.004 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.007008, allocations: 0 / 0.9543 GB, free: 8.004 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002542/0.007262, allocations: 81.59 kB / 0.9543 GB, free: 7.918 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.007276, allocations: 4 kB / 0.9543 GB, free: 7.914 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.007282, allocations: 3.938 kB / 0.9543 GB, free: 7.91 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.0073, allocations: 0 / 0.9543 GB, free: 7.91 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.007408, allocations: 16.02 kB / 0.9544 GB, free: 7.895 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.007411, allocations: 0 / 0.9544 GB, free: 7.895 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.433e-05/0.007476, allocations: 7.984 kB / 0.9544 GB, free: 7.887 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.617e-06/0.007484, allocations: 4 kB / 0.9544 GB, free: 7.883 MB / 0.8575 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 8.242e-05/0.007567, allocations: 114.7 kB / 0.9545 GB, free: 7.762 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.755e-05/0.007594, allocations: 3.953 kB / 0.9545 GB, free: 7.758 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.882e-05/0.007623, allocations: 15.55 kB / 0.9545 GB, free: 7.742 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.007624, allocations: 0 / 0.9545 GB, free: 7.742 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.007628, allocations: 0 / 0.9545 GB, free: 7.742 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.00763, allocations: 0 / 0.9545 GB, free: 7.742 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001436/0.007774, allocations: 113.3 kB / 0.9546 GB, free: 7.602 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.007775, allocations: 0 / 0.9546 GB, free: 7.602 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.834e-05/0.007863, allocations: 12.23 kB / 0.9546 GB, free: 7.59 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.532e-06/0.007865, allocations: 0 / 0.9546 GB, free: 7.59 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/0.007874, allocations: 4 kB / 0.9546 GB, free: 7.586 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.007878, allocations: 7.875 kB / 0.9546 GB, free: 7.578 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.007878, allocations: 0 / 0.9546 GB, free: 7.578 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003105/0.008189, allocations: 175.5 kB / 0.9548 GB, free: 7.391 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 9.047e-06/0.008198, allocations: 4 kB / 0.9548 GB, free: 7.387 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.486e-05/0.008213, allocations: 7.938 kB / 0.9548 GB, free: 7.379 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.008313, allocations: 11.92 kB / 0.9548 GB, free: 7.367 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.531e-05/0.008348, allocations: 0 / 0.9548 GB, free: 7.367 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.008355, allocations: 4 kB / 0.9548 GB, free: 7.363 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.48e-05/0.008399, allocations: 79.28 kB / 0.9549 GB, free: 7.285 MB / 0.8575 GB Notification: Performance of sort global known variables: time 6.1e-08/0.008399, allocations: 0 / 0.9549 GB, free: 7.285 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002255/0.008625, allocations: 11.95 kB / 0.9549 GB, free: 7.273 MB / 0.8575 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.0001078/0.008733, allocations: 103.3 kB / 0.955 GB, free: 7.164 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002756/0.009008, allocations: 51.89 kB / 0.9551 GB, free: 7.113 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.00901, allocations: 0 / 0.9551 GB, free: 7.113 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001198/0.00913, allocations: 27.97 kB / 0.9551 GB, free: 7.086 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002542/0.009384, allocations: 3.938 kB / 0.9551 GB, free: 7.082 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003457/0.009729, allocations: 128.9 kB / 0.9552 GB, free: 6.93 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.078e-05/0.00979, allocations: 67.34 kB / 0.9553 GB, free: 6.844 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.673e-05/0.009817, allocations: 0 / 0.9553 GB, free: 6.844 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.12e-05/0.009848, allocations: 8.5 kB / 0.9553 GB, free: 6.836 MB / 0.8575 GB Notification: Performance of SimCode: time 3.81e-07/0.009849, allocations: 0 / 0.9553 GB, free: 6.836 MB / 0.8575 GB Notification: Performance of Templates: time 0.003035/0.01288, allocations: 0.6635 MB / 0.9559 GB, free: 6.184 MB / 0.8575 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: 7.945282083004713]