Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.RegNonZeroPower.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.001352/0.001352, 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.00109/0.00109, 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 1.013/1.013, allocations: 177.1 MB / 204.2 MB, free: 5.254 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.979/1.979, allocations: 377.8 MB / 0.6236 GB, free: 8.562 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.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|regNonZeroPower.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|regNonZeroPower.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.RegNonZeroPower") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 0.8115 GB, free: 1.707 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.923e-05/3.116e-05, allocations: 4.984 kB / 0.8115 GB, free: 1.703 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.00296/0.002992, allocations: 1.493 MB / 0.813 GB, free: 224 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0008024/0.003794, allocations: 375.9 kB / 0.8134 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.642e-05/0.00383, allocations: 0 / 0.8134 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.567e-05/0.003866, allocations: 3.938 kB / 0.8134 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.94e-05/0.003916, allocations: 1.719 kB / 0.8134 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004834/0.004399, allocations: 115.6 kB / 0.8135 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 8.038e-05/0.004479, allocations: 28.73 kB / 0.8135 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.004581, allocations: 7.938 kB / 0.8135 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 7.076e-05/0.004652, allocations: 16.66 kB / 0.8135 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 4.681e-05/0.004698, allocations: 11.98 kB / 0.8135 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.77e-05/0.004716, allocations: 0.9062 kB / 0.8135 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004137/0.00513, allocations: 259.7 kB / 0.8138 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.83e-05/0.005148, allocations: 4.594 kB / 0.8138 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.598e-05/0.005174, allocations: 11.98 kB / 0.8138 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002537/0.005428, allocations: 128.6 kB / 0.8139 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.005431, allocations: 0 / 0.8139 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.81e-07/0.005432, allocations: 0 / 0.8139 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.005436, allocations: 0.75 kB / 0.8139 GB, free: 15.28 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.0004347/0.005871, allocations: 385.1 kB / 0.8143 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.005914, allocations: 11.97 kB / 0.8143 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.284e-05/0.006007, allocations: 10.17 kB / 0.8143 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.89e-05/0.006106, allocations: 112.6 kB / 0.8144 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.006118, allocations: 384 / 0.8144 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.373e-05/0.006132, allocations: 384 / 0.8144 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/0.006288, allocations: 60.98 kB / 0.8145 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.006299, allocations: 192 / 0.8145 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.006308, allocations: 384 / 0.8145 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.196e-06/0.006316, allocations: 384 / 0.8145 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.133e-05/0.006357, allocations: 11.92 kB / 0.8145 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003213/0.006679, allocations: 244.7 kB / 0.8147 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 6.648e-05/0.006745, allocations: 38.98 kB / 0.8148 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.632e-05/0.006772, allocations: 9.25 kB / 0.8148 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004473/0.007219, allocations: 79.23 kB / 0.8148 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.007246, allocations: 33.39 kB / 0.8149 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.443e-06/0.007248, allocations: 0 / 0.8149 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0002028/0.007451, allocations: 49.59 kB / 0.8149 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.34e-05/0.007484, allocations: 52.44 kB / 0.815 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.204e-05/0.007576, allocations: 165.9 kB / 0.8151 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.007589, allocations: 25.7 kB / 0.8152 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.236e-05/0.007641, allocations: 132.4 kB / 0.8153 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-05/0.007662, allocations: 15.94 kB / 0.8153 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.475e-05/0.007697, allocations: 15.38 kB / 0.8153 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.007835, allocations: 496.1 kB / 0.8158 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.925e-05/0.007854, allocations: 4.531 kB / 0.8158 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.322e-05/0.007867, allocations: 0.6562 kB / 0.8158 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.891e-05/0.007906, allocations: 16.22 kB / 0.8158 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.007909, allocations: 1 kB / 0.8158 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001018/0.00801, allocations: 41.69 kB / 0.8158 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.008025, allocations: 4.938 kB / 0.8158 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.894e-06/0.008033, allocations: 7.938 kB / 0.8159 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.00805, allocations: 4.531 kB / 0.8159 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.038e-05/0.00813, allocations: 9.312 kB / 0.8159 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.008136, allocations: 3.984 kB / 0.8159 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.803e-05/0.008164, allocations: 11.88 kB / 0.8159 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.351e-06/0.008169, allocations: 0 / 0.8159 GB, free: 13.07 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 7.53e-05/0.008245, allocations: 153.9 kB / 0.816 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.536e-05/0.00829, allocations: 11.94 kB / 0.816 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001217/0.008412, allocations: 53.86 kB / 0.8161 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.008415, allocations: 0 / 0.8161 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.008418, allocations: 0.75 kB / 0.8161 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.008421, allocations: 0 / 0.8161 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001318/0.008553, allocations: 117.5 kB / 0.8162 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.008556, allocations: 4 kB / 0.8162 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.493e-05/0.008601, allocations: 4.875 kB / 0.8162 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.008604, allocations: 0 / 0.8162 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.305e-06/0.008612, allocations: 5.328 kB / 0.8162 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.008617, allocations: 7.875 kB / 0.8162 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.008618, allocations: 0 / 0.8162 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001442/0.008762, allocations: 184.6 kB / 0.8164 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.573e-06/0.008769, allocations: 0 / 0.8164 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.283e-05/0.008782, allocations: 8.547 kB / 0.8164 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.394e-05/0.008846, allocations: 3.938 kB / 0.8164 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.628e-05/0.008882, allocations: 5.875 kB / 0.8164 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.878e-06/0.008886, allocations: 0 / 0.8164 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.869e-05/0.008935, allocations: 131.2 kB / 0.8165 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1e-07/0.008935, allocations: 0 / 0.8165 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002768/0.009212, allocations: 15.95 kB / 0.8166 GB, free: 12.32 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 0.0001754/0.009387, allocations: 112 kB / 0.8167 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.479e-05/0.009482, allocations: 27.08 kB / 0.8167 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.009483, allocations: 0 / 0.8167 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.661e-05/0.00951, allocations: 15.69 kB / 0.8167 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002749/0.009785, allocations: 7.938 kB / 0.8167 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003/0.01008, allocations: 114.4 kB / 0.8168 GB, free: 12 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.27e-05/0.01013, allocations: 59.83 kB / 0.8169 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.482e-05/0.01015, allocations: 4.5 kB / 0.8169 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.653e-05/0.01018, allocations: 8.5 kB / 0.8169 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of SimCode: time 6.21e-07/0.01018, allocations: 0.9062 kB / 0.8169 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of Templates: time 0.003021/0.0132, allocations: 0.7609 MB / 0.8176 GB, free: 11.18 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_RegNonZeroPower.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.30897022318095]