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.001428/0.001428, allocations: 81.86 kB / 20.68 MB, free: 3.816 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.00172/0.00172, allocations: 185 kB / 24.09 MB, free: 416 kB / 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.9888/0.9888, allocations: 177.1 MB / 204.5 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] 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 1.929/1.929, allocations: 377.9 MB / 0.624 GB, free: 8.418 MB / 0.5886 GB " [Timeout remaining time 177] 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.885e-06/2.885e-06, allocations: 0 / 0.812 GB, free: 1.445 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.76e-05/3.049e-05, allocations: 2.312 kB / 0.812 GB, free: 1.441 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.002096/0.002127, allocations: 1.502 MB / 0.8135 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0002666/0.002393, allocations: 83.8 kB / 0.8136 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.44e-05/0.002428, allocations: 7.938 kB / 0.8136 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.754e-05/0.002455, allocations: 7.922 kB / 0.8136 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.531e-05/0.0025, allocations: 0.8438 kB / 0.8136 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001837/0.002684, allocations: 16.89 kB / 0.8136 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 6.578e-05/0.00275, allocations: 27.92 kB / 0.8136 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.051e-05/0.00283, allocations: 0 / 0.8136 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 6.669e-05/0.002897, allocations: 25.41 kB / 0.8136 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 3.603e-05/0.002933, allocations: 4 kB / 0.8136 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.709e-05/0.00295, allocations: 4 kB / 0.8136 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.939e-05/0.00301, allocations: 15.98 kB / 0.8137 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.631e-05/0.003026, allocations: 5.703 kB / 0.8137 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.732e-05/0.003043, allocations: 11.94 kB / 0.8137 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001129/0.003156, allocations: 27.91 kB / 0.8137 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.003158, allocations: 0 / 0.8137 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.253e-06/0.00316, allocations: 1.375 kB / 0.8137 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.997e-06/0.003164, allocations: 0 / 0.8137 GB, free: 15.72 MB / 0.7761 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.000366/0.00353, allocations: 368.6 kB / 0.8141 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.003573, allocations: 12.03 kB / 0.8141 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001258/0.003698, allocations: 14.67 kB / 0.8141 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.342e-05/0.003772, allocations: 108.6 kB / 0.8142 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.003784, allocations: 4.375 kB / 0.8142 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.472e-06/0.00379, allocations: 4.312 kB / 0.8142 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001035/0.003894, allocations: 60.28 kB / 0.8143 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.003901, allocations: 192 / 0.8143 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.432e-06/0.003907, allocations: 384 / 0.8143 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.003913, allocations: 6.281 kB / 0.8143 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.222e-05/0.003935, allocations: 3.938 kB / 0.8143 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002358/0.004171, allocations: 236.5 kB / 0.8145 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.199e-05/0.004223, allocations: 38.98 kB / 0.8145 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.788e-05/0.004241, allocations: 18.12 kB / 0.8145 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.442e-05/0.004255, allocations: 0 / 0.8145 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.07e-05/0.004276, allocations: 37.33 kB / 0.8146 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.004277, allocations: 0 / 0.8146 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001193/0.004396, allocations: 41.64 kB / 0.8146 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.487e-05/0.004421, allocations: 51.41 kB / 0.8147 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.578e-05/0.004487, allocations: 170.6 kB / 0.8148 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.237e-06/0.004496, allocations: 25.7 kB / 0.8149 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.271e-05/0.004539, allocations: 135.4 kB / 0.815 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.618e-05/0.004555, allocations: 9.594 kB / 0.815 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.789e-05/0.004583, allocations: 19.38 kB / 0.815 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003805/0.004963, allocations: 496.1 kB / 0.8155 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.673e-05/0.00498, allocations: 4 kB / 0.8155 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.508e-06/0.00499, allocations: 0.6562 kB / 0.8155 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3e-05/0.00502, allocations: 20.92 kB / 0.8155 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.005021, allocations: 0 / 0.8155 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.37e-05/0.005085, allocations: 37.7 kB / 0.8155 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.005097, allocations: 5.156 kB / 0.8156 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.005101, allocations: 0 / 0.8156 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.005114, allocations: 7.875 kB / 0.8156 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.273e-05/0.005177, allocations: 13.14 kB / 0.8156 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.384e-06/0.005179, allocations: 0 / 0.8156 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.336e-05/0.005202, allocations: 7.938 kB / 0.8156 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.166e-06/0.005205, allocations: 0.5312 kB / 0.8156 GB, free: 13.61 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 5.83e-05/0.005264, allocations: 153.4 kB / 0.8157 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.423e-05/0.005278, allocations: 4.844 kB / 0.8157 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.67e-05/0.005305, allocations: 11.61 kB / 0.8157 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.005308, allocations: 7.922 kB / 0.8157 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.00531, allocations: 1.75 kB / 0.8157 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.005312, allocations: 256 / 0.8158 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.992e-05/0.005402, allocations: 97.25 kB / 0.8158 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.005404, allocations: 8 kB / 0.8159 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.374e-05/0.005428, allocations: 8.797 kB / 0.8159 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.00543, allocations: 0 / 0.8159 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.987e-06/0.005434, allocations: 2.281 kB / 0.8159 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.32e-07/0.005434, allocations: 0 / 0.8159 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.005435, allocations: 0 / 0.8159 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.864e-05/0.005534, allocations: 199.8 kB / 0.8161 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.402e-06/0.00554, allocations: 7.938 kB / 0.8161 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.634e-06/0.005548, allocations: 0 / 0.8161 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.327e-05/0.005581, allocations: 2.062 kB / 0.8161 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.641e-05/0.005608, allocations: 7.984 kB / 0.8161 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.005611, allocations: 3.938 kB / 0.8161 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.339e-05/0.005645, allocations: 123.2 kB / 0.8162 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.005645, allocations: 0 / 0.8162 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001382/0.005783, allocations: 8.5 kB / 0.8162 GB, free: 12.93 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 7.503e-05/0.005858, allocations: 95.78 kB / 0.8163 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.194e-05/0.00592, allocations: 21.02 kB / 0.8163 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.005922, allocations: 4 kB / 0.8163 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.423e-05/0.005946, allocations: 16.31 kB / 0.8163 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001687/0.006115, allocations: 4.594 kB / 0.8163 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002199/0.006335, allocations: 126.4 kB / 0.8165 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.242e-05/0.006367, allocations: 63.16 kB / 0.8165 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.753e-05/0.006385, allocations: 0 / 0.8165 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.557e-05/0.00643, allocations: 74.19 kB / 0.8166 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of SimCode: time 5.31e-07/0.006431, allocations: 0 / 0.8166 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of Templates: time 0.00225/0.00868, allocations: 0.7031 MB / 0.8173 GB, free: 11.79 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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: 5.15258633159101]