Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001777/0.001777, allocations: 80.33 kB / 19.18 MB, free: 2.527 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.001997/0.001997, allocations: 164.5 kB / 22.46 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.444/1.444, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.857/2.857, allocations: 389 MB / 0.633 GB, free: 0.9961 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings.Utilities.Math.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 8.92e-07/8.92e-07, allocations: 0 / 1 GB, free: 7.281 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.363e-05/2.453e-05, allocations: 9.734 kB / 1 GB, free: 7.273 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.002685/0.002709, allocations: 1.47 MB / 1.002 GB, free: 5.797 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.000283/0.002992, allocations: 87.61 kB / 1.002 GB, free: 5.711 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.056e-05/0.003033, allocations: 0 / 1.002 GB, free: 5.711 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.015e-05/0.003053, allocations: 4 kB / 1.002 GB, free: 5.707 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 5.031e-05/0.003103, allocations: 7.875 kB / 1.002 GB, free: 5.699 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001829/0.003286, allocations: 19.98 kB / 1.002 GB, free: 5.68 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 6.879e-05/0.003355, allocations: 23.91 kB / 1.002 GB, free: 5.656 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 8.215e-05/0.003437, allocations: 8 kB / 1.002 GB, free: 5.648 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 5.575e-05/0.003493, allocations: 11.98 kB / 1.002 GB, free: 5.637 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 3.902e-05/0.003532, allocations: 11.92 kB / 1.002 GB, free: 5.625 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.743e-05/0.003549, allocations: 4 kB / 1.002 GB, free: 5.621 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 6.047e-05/0.00361, allocations: 15.98 kB / 1.002 GB, free: 5.605 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.648e-05/0.003626, allocations: 4 kB / 1.002 GB, free: 5.602 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 1.951e-05/0.003646, allocations: 4 kB / 1.002 GB, free: 5.598 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001429/0.003789, allocations: 43.81 kB / 1.002 GB, free: 5.555 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.003791, allocations: 0 / 1.002 GB, free: 5.555 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.021e-06/0.003792, allocations: 4 kB / 1.002 GB, free: 5.551 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.003797, allocations: 0 / 1.002 GB, free: 5.551 MB / 0.9512 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.0004696/0.004266, allocations: 270.3 kB / 1.002 GB, free: 5.254 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.004305, allocations: 12.03 kB / 1.002 GB, free: 5.242 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001849/0.00449, allocations: 8.922 kB / 1.002 GB, free: 5.234 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.004614, allocations: 113.7 kB / 1.002 GB, free: 5.098 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.356e-05/0.004638, allocations: 384 / 1.002 GB, free: 5.098 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.219e-05/0.00465, allocations: 4.375 kB / 1.002 GB, free: 5.094 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002137/0.004864, allocations: 66.22 kB / 1.002 GB, free: 5.023 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.004871, allocations: 192 / 1.002 GB, free: 5.023 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-06/0.00488, allocations: 4.312 kB / 1.002 GB, free: 5.02 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-06/0.004889, allocations: 384 / 1.002 GB, free: 5.02 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002316/0.005121, allocations: 47.89 kB / 1.002 GB, free: 4.973 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003897/0.00551, allocations: 200.6 kB / 1.003 GB, free: 4.746 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002044/0.005715, allocations: 70.5 kB / 1.003 GB, free: 4.668 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000117/0.005832, allocations: 28.91 kB / 1.003 GB, free: 4.637 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.669e-05/0.005848, allocations: 0 / 1.003 GB, free: 4.637 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.925e-05/0.005888, allocations: 30.56 kB / 1.003 GB, free: 4.598 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/0.005889, allocations: 0 / 1.003 GB, free: 4.598 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0004547/0.006343, allocations: 109.6 kB / 1.003 GB, free: 4.484 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.132e-05/0.006385, allocations: 55.44 kB / 1.003 GB, free: 4.418 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001431/0.006528, allocations: 105.8 kB / 1.003 GB, free: 4.305 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.006548, allocations: 25.7 kB / 1.003 GB, free: 4.273 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.801e-05/0.006606, allocations: 84.09 kB / 1.003 GB, free: 4.188 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.195e-05/0.006628, allocations: 11.94 kB / 1.003 GB, free: 4.176 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.975e-05/0.006678, allocations: 13.72 kB / 1.003 GB, free: 4.156 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.006836, allocations: 314.8 kB / 1.003 GB, free: 3.84 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001271/0.006963, allocations: 23.97 kB / 1.003 GB, free: 3.816 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001047/0.007068, allocations: 23.98 kB / 1.003 GB, free: 3.793 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00022/0.007288, allocations: 52.81 kB / 1.003 GB, free: 3.738 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.007289, allocations: 0 / 1.003 GB, free: 3.738 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002815/0.007571, allocations: 85.58 kB / 1.003 GB, free: 3.648 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.007585, allocations: 9.812 kB / 1.004 GB, free: 3.641 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.007592, allocations: 7.875 kB / 1.004 GB, free: 3.633 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.007607, allocations: 0 / 1.004 GB, free: 3.633 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001124/0.007719, allocations: 11.98 kB / 1.004 GB, free: 3.621 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.177e-06/0.007724, allocations: 0 / 1.004 GB, free: 3.621 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.549e-05/0.007789, allocations: 8.234 kB / 1.004 GB, free: 3.613 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.007795, allocations: 0 / 1.004 GB, free: 3.613 MB / 0.9512 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.278e-05/0.007877, allocations: 109.8 kB / 1.004 GB, free: 3.496 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.547e-05/0.007903, allocations: 0 / 1.004 GB, free: 3.496 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.91e-05/0.007942, allocations: 19.56 kB / 1.004 GB, free: 3.477 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.007944, allocations: 4 kB / 1.004 GB, free: 3.473 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.00795, allocations: 3.984 kB / 1.004 GB, free: 3.469 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.007952, allocations: 0 / 1.004 GB, free: 3.469 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00016/0.008112, allocations: 105.3 kB / 1.004 GB, free: 3.336 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.008113, allocations: 0 / 1.004 GB, free: 3.336 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.412e-05/0.008197, allocations: 11.98 kB / 1.004 GB, free: 3.324 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.0082, allocations: 0 / 1.004 GB, free: 3.324 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.00821, allocations: 3.984 kB / 1.004 GB, free: 3.32 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.648e-06/0.008214, allocations: 3.938 kB / 1.004 GB, free: 3.316 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.008215, allocations: 0 / 1.004 GB, free: 3.316 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003175/0.008533, allocations: 183.3 kB / 1.004 GB, free: 3.121 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 1.08e-05/0.008543, allocations: 8 kB / 1.004 GB, free: 3.113 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.543e-05/0.008559, allocations: 3.984 kB / 1.004 GB, free: 3.109 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.492e-05/0.008654, allocations: 7.938 kB / 1.004 GB, free: 3.102 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.949e-05/0.008693, allocations: 3.984 kB / 1.004 GB, free: 3.098 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.002e-06/0.008699, allocations: 4 kB / 1.004 GB, free: 3.094 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.971e-05/0.008749, allocations: 83.28 kB / 1.004 GB, free: 3.012 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1e-07/0.008749, allocations: 4.031 kB / 1.004 GB, free: 3.008 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002212/0.00897, allocations: 7.938 kB / 1.004 GB, free: 3 MB / 0.9512 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.0001174/0.009088, allocations: 95.23 kB / 1.004 GB, free: 2.898 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002655/0.009353, allocations: 55.94 kB / 1.004 GB, free: 2.844 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.009355, allocations: 3.938 kB / 1.004 GB, free: 2.84 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001191/0.009474, allocations: 28.03 kB / 1.004 GB, free: 2.812 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002756/0.00975, allocations: 4 kB / 1.004 GB, free: 2.809 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004102/0.01016, allocations: 122.7 kB / 1.004 GB, free: 2.664 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.04e-05/0.01023, allocations: 59.34 kB / 1.004 GB, free: 2.586 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.933e-05/0.01026, allocations: 4 kB / 1.004 GB, free: 2.582 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.538e-05/0.01029, allocations: 12.5 kB / 1.004 GB, free: 2.57 MB / 0.9512 GB Notification: Performance of SimCode: time 3.31e-07/0.0103, allocations: 4 kB / 1.004 GB, free: 2.566 MB / 0.9512 GB Notification: Performance of Templates: time 0.003211/0.01351, allocations: 0.6457 MB / 1.005 GB, free: 1.926 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_PowerLinearized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.895415253937244]