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.001423/0.001423, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001221/0.001221, allocations: 161 kB / 23.82 MB, free: 0.75 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.9834/0.9834, allocations: 177.1 MB / 204.2 MB, free: 5.266 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.792/1.792, allocations: 359 MB / 0.6052 GB, free: 11.03 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.613e-06/1.613e-06, allocations: 0 / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.85e-05/2.012e-05, allocations: 5.984 kB / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.002426/0.002446, allocations: 1.497 MB / 0.7886 GB, free: 11 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.000286/0.002732, allocations: 88.36 kB / 0.7886 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.893e-05/0.002771, allocations: 0.8438 kB / 0.7886 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.486e-05/0.002806, allocations: 0 / 0.7886 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.599e-05/0.002861, allocations: 4.5 kB / 0.7886 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002348/0.003096, allocations: 25.11 kB / 0.7887 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.155e-05/0.003178, allocations: 23.88 kB / 0.7887 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.003278, allocations: 7.984 kB / 0.7887 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.002e-05/0.003338, allocations: 16.55 kB / 0.7887 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.982e-05/0.003378, allocations: 4.719 kB / 0.7887 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.876e-05/0.003397, allocations: 0 / 0.7887 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.744e-05/0.003464, allocations: 16.89 kB / 0.7887 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.742e-05/0.003482, allocations: 7.938 kB / 0.7887 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.507e-05/0.003507, allocations: 11.97 kB / 0.7888 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001322/0.003639, allocations: 28.56 kB / 0.7888 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.003641, allocations: 1.656 kB / 0.7888 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.186e-06/0.003645, allocations: 4 kB / 0.7888 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.00365, allocations: 0 / 0.7888 GB, free: 10.77 MB / 0.7448 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.0004518/0.004101, allocations: 360.6 kB / 0.7891 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.479e-05/0.004156, allocations: 13.61 kB / 0.7891 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001936/0.00435, allocations: 12.94 kB / 0.7892 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001136/0.004464, allocations: 120.5 kB / 0.7893 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/0.004484, allocations: 4.375 kB / 0.7893 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.416e-05/0.004498, allocations: 3.844 kB / 0.7893 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001667/0.004665, allocations: 54.95 kB / 0.7893 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.004678, allocations: 4.125 kB / 0.7893 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.00469, allocations: 4.359 kB / 0.7893 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.206e-05/0.004702, allocations: 384 / 0.7893 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.576e-05/0.004748, allocations: 7.938 kB / 0.7894 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003845/0.005133, allocations: 259.8 kB / 0.7896 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.69e-05/0.005219, allocations: 35.05 kB / 0.7896 GB, free: 9.793 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.996e-05/0.005249, allocations: 12.34 kB / 0.7896 GB, free: 9.777 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.005268, allocations: 0 / 0.7896 GB, free: 9.777 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.005295, allocations: 37.98 kB / 0.7897 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 2.295e-06/0.005297, allocations: 5.203 kB / 0.7897 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001848/0.005482, allocations: 45.58 kB / 0.7897 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.087e-05/0.005513, allocations: 51.41 kB / 0.7898 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002561/0.005769, allocations: 166.5 kB / 0.7899 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.005783, allocations: 26.83 kB / 0.79 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.662e-05/0.00584, allocations: 134.8 kB / 0.7901 GB, free: 9.266 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.342e-05/0.005863, allocations: 7.984 kB / 0.7901 GB, free: 9.258 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.388e-05/0.005897, allocations: 16.25 kB / 0.7901 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.006047, allocations: 0.4884 MB / 0.7906 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.155e-05/0.006069, allocations: 0 / 0.7906 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.788e-05/0.006087, allocations: 4.594 kB / 0.7906 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.003e-05/0.006127, allocations: 16.83 kB / 0.7906 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.006129, allocations: 0 / 0.7906 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.379e-05/0.006213, allocations: 46.34 kB / 0.7907 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.006226, allocations: 8 kB / 0.7907 GB, free: 8.652 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.006233, allocations: 5.125 kB / 0.7907 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.006252, allocations: 0 / 0.7907 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.458e-05/0.006337, allocations: 7.984 kB / 0.7907 GB, free: 8.641 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.006345, allocations: 5.5 kB / 0.7907 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.989e-05/0.006375, allocations: 3.938 kB / 0.7907 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/0.006382, allocations: 4 kB / 0.7907 GB, free: 8.629 MB / 0.7448 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 7.719e-05/0.006459, allocations: 158.1 kB / 0.7908 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.214e-05/0.006481, allocations: 0 / 0.7908 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.347e-05/0.006525, allocations: 15.55 kB / 0.7909 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.006527, allocations: 0 / 0.7909 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.006531, allocations: 0.5 kB / 0.7909 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.006534, allocations: 0.5 kB / 0.7909 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001361/0.00667, allocations: 125.1 kB / 0.791 GB, free: 8.297 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.006673, allocations: 4.25 kB / 0.791 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.783e-05/0.006711, allocations: 9.375 kB / 0.791 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.006714, allocations: 0 / 0.791 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.884e-06/0.006722, allocations: 0 / 0.791 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.006725, allocations: 4.562 kB / 0.791 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.006725, allocations: 0 / 0.791 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001276/0.006853, allocations: 197.8 kB / 0.7912 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.733e-06/0.00686, allocations: 4 kB / 0.7912 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.003e-05/0.00688, allocations: 0 / 0.7912 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.172e-05/0.006941, allocations: 11.92 kB / 0.7912 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.812e-05/0.00698, allocations: 0 / 0.7912 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.006983, allocations: 0.625 kB / 0.7912 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.385e-05/0.007026, allocations: 131.9 kB / 0.7913 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.007027, allocations: 0 / 0.7913 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002372/0.007264, allocations: 4.594 kB / 0.7913 GB, free: 7.922 MB / 0.7448 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 7.251e-05/0.007336, allocations: 96.38 kB / 0.7914 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.39e-05/0.00743, allocations: 19.62 kB / 0.7914 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.183e-06/0.007431, allocations: 1 kB / 0.7914 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.59e-05/0.007457, allocations: 15.69 kB / 0.7915 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002507/0.007708, allocations: 8.828 kB / 0.7915 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002902/0.007998, allocations: 132.5 kB / 0.7916 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.963e-05/0.008038, allocations: 55.34 kB / 0.7916 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.173e-05/0.008059, allocations: 2.781 kB / 0.7916 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.145e-05/0.008091, allocations: 12.5 kB / 0.7917 GB, free: 7.527 MB / 0.7448 GB Notification: Performance of SimCode: time 5.21e-07/0.008091, allocations: 0 / 0.7917 GB, free: 7.527 MB / 0.7448 GB Notification: Performance of Templates: time 0.00247/0.01056, allocations: 0.6684 MB / 0.7923 GB, free: 6.883 MB / 0.7448 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_PowerLinearized.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.975276163779199]