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.001002/0.001002, 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.001477/0.001477, 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.9268/0.9268, allocations: 177.1 MB / 204.2 MB, free: 5.59 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.798/1.798, allocations: 377.8 MB / 0.6236 GB, free: 8.531 MB / 0.5886 GB " [Timeout remaining time 178] 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 1.352e-06/1.352e-06, allocations: 0 / 0.8115 GB, free: 0.5547 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.123e-05/2.258e-05, allocations: 10.25 kB / 0.8115 GB, free: 0.543 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.001795/0.001818, allocations: 1.494 MB / 0.813 GB, free: 15.06 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0002357/0.002054, allocations: 101.1 kB / 0.8131 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.779e-05/0.002082, allocations: 3.938 kB / 0.8131 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.701e-05/0.002109, allocations: 3.938 kB / 0.8131 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 4.321e-05/0.002152, allocations: 6.031 kB / 0.8131 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.00019/0.002342, allocations: 11.98 kB / 0.8131 GB, free: 14.94 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 7e-05/0.002412, allocations: 27.86 kB / 0.8131 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 8.799e-05/0.0025, allocations: 11.98 kB / 0.8132 GB, free: 14.9 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 5.063e-05/0.00255, allocations: 15.92 kB / 0.8132 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 3.281e-05/0.002583, allocations: 8.547 kB / 0.8132 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.641e-05/0.0026, allocations: 4.938 kB / 0.8132 GB, free: 14.87 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 5.512e-05/0.002655, allocations: 15.98 kB / 0.8132 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.303e-05/0.002668, allocations: 0 / 0.8132 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.957e-05/0.002687, allocations: 13.03 kB / 0.8132 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001074/0.002795, allocations: 31.94 kB / 0.8132 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.002797, allocations: 0 / 0.8132 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of FrontEnd: time 9.52e-07/0.002798, allocations: 1.406 kB / 0.8132 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.002803, allocations: 0 / 0.8132 GB, free: 14.81 MB / 0.7292 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.0003301/0.003133, allocations: 360.2 kB / 0.8136 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.003169, allocations: 8.875 kB / 0.8136 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001388/0.003308, allocations: 12.92 kB / 0.8136 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.209e-05/0.00339, allocations: 121.5 kB / 0.8137 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.003402, allocations: 384 / 0.8137 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.396e-06/0.003411, allocations: 384 / 0.8137 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/0.003537, allocations: 63.44 kB / 0.8138 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.75e-06/0.003543, allocations: 0.7812 kB / 0.8138 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.557e-06/0.003553, allocations: 384 / 0.8138 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.003559, allocations: 1.625 kB / 0.8138 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.435e-05/0.003594, allocations: 11.94 kB / 0.8138 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002779/0.003871, allocations: 255.8 kB / 0.814 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.973e-05/0.003931, allocations: 33.47 kB / 0.8141 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.153e-05/0.003953, allocations: 11.75 kB / 0.8141 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.217e-05/0.003965, allocations: 7.938 kB / 0.8141 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.89e-05/0.003984, allocations: 41.33 kB / 0.8141 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.953e-06/0.003986, allocations: 3.984 kB / 0.8141 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0001367/0.004122, allocations: 42.19 kB / 0.8142 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.622e-05/0.004149, allocations: 52.94 kB / 0.8142 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.513e-05/0.004214, allocations: 165.9 kB / 0.8144 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.809e-06/0.004224, allocations: 25.7 kB / 0.8144 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.874e-05/0.004262, allocations: 134.9 kB / 0.8145 GB, free: 13.31 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.529e-05/0.004278, allocations: 5.266 kB / 0.8145 GB, free: 13.31 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.754e-05/0.004305, allocations: 23.38 kB / 0.8146 GB, free: 13.28 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.004412, allocations: 496.1 kB / 0.815 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.838e-05/0.004431, allocations: 0 / 0.815 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.32e-05/0.004444, allocations: 9.312 kB / 0.8151 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.191e-05/0.004476, allocations: 15.69 kB / 0.8151 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.004478, allocations: 1.219 kB / 0.8151 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.886e-05/0.004537, allocations: 45.64 kB / 0.8151 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.004548, allocations: 4 kB / 0.8151 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.004553, allocations: 4.719 kB / 0.8151 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.004564, allocations: 0.5312 kB / 0.8151 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.59e-05/0.00463, allocations: 12.88 kB / 0.8151 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.004634, allocations: 0 / 0.8151 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.153e-05/0.004655, allocations: 8.797 kB / 0.8151 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.209e-06/0.004661, allocations: 3.984 kB / 0.8151 GB, free: 12.67 MB / 0.7292 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.888e-05/0.004719, allocations: 161 kB / 0.8153 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.347e-05/0.004733, allocations: 5.375 kB / 0.8153 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.8e-05/0.004761, allocations: 7.562 kB / 0.8153 GB, free: 12.49 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.004763, allocations: 0 / 0.8153 GB, free: 12.49 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.004765, allocations: 0 / 0.8153 GB, free: 12.49 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.004768, allocations: 1.156 kB / 0.8153 GB, free: 12.49 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.869e-05/0.004856, allocations: 120.6 kB / 0.8154 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.11e-07/0.004857, allocations: 0 / 0.8154 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.478e-05/0.004882, allocations: 8.766 kB / 0.8154 GB, free: 12.33 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.654e-06/0.004883, allocations: 0 / 0.8154 GB, free: 12.33 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.543e-06/0.00489, allocations: 0.5938 kB / 0.8154 GB, free: 12.33 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.004893, allocations: 7.938 kB / 0.8154 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.004894, allocations: 0.7188 kB / 0.8154 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.806e-05/0.004992, allocations: 189.1 kB / 0.8156 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.26e-06/0.004997, allocations: 7.938 kB / 0.8156 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.018e-05/0.005007, allocations: 3.938 kB / 0.8156 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.421e-05/0.005042, allocations: 9.219 kB / 0.8156 GB, free: 12.1 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.159e-05/0.005073, allocations: 3.984 kB / 0.8156 GB, free: 12.1 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-06/0.005076, allocations: 4 kB / 0.8157 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.142e-05/0.005107, allocations: 123.9 kB / 0.8158 GB, free: 11.97 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.005107, allocations: 4 kB / 0.8158 GB, free: 11.97 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001337/0.005241, allocations: 4.875 kB / 0.8158 GB, free: 11.96 MB / 0.7292 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.214e-05/0.005313, allocations: 96.75 kB / 0.8159 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 7.964e-05/0.005393, allocations: 23.67 kB / 0.8159 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 9.61e-07/0.005394, allocations: 0 / 0.8159 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.017e-05/0.005414, allocations: 12.69 kB / 0.8159 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001686/0.005583, allocations: 4 kB / 0.8159 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002413/0.005824, allocations: 144.8 kB / 0.816 GB, free: 11.65 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.181e-05/0.005856, allocations: 51.36 kB / 0.8161 GB, free: 11.58 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.595e-05/0.005872, allocations: 4 kB / 0.8161 GB, free: 11.58 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.686e-05/0.005899, allocations: 8.5 kB / 0.8161 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of SimCode: time 6.11e-07/0.005899, allocations: 0 / 0.8161 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of Templates: time 0.002096/0.007995, allocations: 0.6882 MB / 0.8168 GB, free: 10.91 MB / 0.7292 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: 4.805905861780047]