Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.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.001457/0.001457, allocations: 84.39 kB / 21.47 MB, free: 3.031 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.001289/0.001289, allocations: 167.5 kB / 24.87 MB, free: 9.25 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.9757/0.9757, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.897/1.897, allocations: 377.9 MB / 0.6247 GB, free: 8.348 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.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 0.8128 GB, free: 1.391 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.348e-05/2.481e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.387 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001783/0.001808, allocations: 0.6075 MB / 0.8134 GB, free: 0.8008 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0006562/0.002464, allocations: 297 kB / 0.8137 GB, free: 0.5117 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.821e-05/0.002482, allocations: 0 / 0.8137 GB, free: 0.5117 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 1.561e-05/0.002498, allocations: 0.9688 kB / 0.8137 GB, free: 0.5117 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 6.772e-06/0.002505, allocations: 0 / 0.8137 GB, free: 0.5117 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004674/0.002972, allocations: 117.2 kB / 0.8138 GB, free: 408 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 4.007e-05/0.003012, allocations: 0 / 0.8138 GB, free: 408 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.915e-05/0.003051, allocations: 5.516 kB / 0.8138 GB, free: 404 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 2.295e-05/0.003074, allocations: 0 / 0.8138 GB, free: 404 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 2.971e-05/0.003104, allocations: 7.984 kB / 0.8138 GB, free: 396 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.143e-05/0.003115, allocations: 0 / 0.8138 GB, free: 396 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004125/0.003528, allocations: 253.4 kB / 0.8141 GB, free: 144 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.501e-05/0.003543, allocations: 4 kB / 0.8141 GB, free: 140 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.086e-05/0.003554, allocations: 0 / 0.8141 GB, free: 140 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0002001/0.003754, allocations: 111.7 kB / 0.8142 GB, free: 28 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.736e-06/0.003756, allocations: 0 / 0.8142 GB, free: 28 kB / 0.7605 GB Notification: Performance of FrontEnd: time 9.42e-07/0.003757, allocations: 5.156 kB / 0.8142 GB, free: 24 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.003761, allocations: 0 / 0.8142 GB, free: 24 kB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002722/0.004033, allocations: 360.2 kB / 0.8145 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.014e-05/0.004063, allocations: 9.125 kB / 0.8145 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.476e-05/0.004118, allocations: 8.938 kB / 0.8146 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.466e-05/0.004173, allocations: 104.6 kB / 0.8147 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.167e-06/0.004182, allocations: 1.219 kB / 0.8147 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.31e-06/0.004187, allocations: 4.359 kB / 0.8147 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.877e-05/0.004246, allocations: 36.39 kB / 0.8147 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.911e-06/0.004252, allocations: 192 / 0.8147 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.981e-06/0.004258, allocations: 4.359 kB / 0.8147 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.004263, allocations: 4.312 kB / 0.8147 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.043e-05/0.004273, allocations: 3.938 kB / 0.8147 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.123e-05/0.004344, allocations: 93.27 kB / 0.8148 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 3.107e-05/0.004375, allocations: 27.59 kB / 0.8148 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.112e-05/0.004386, allocations: 16.5 kB / 0.8148 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002097/0.004596, allocations: 46.05 kB / 0.8149 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/0.004622, allocations: 41.33 kB / 0.8149 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.004623, allocations: 0.625 kB / 0.8149 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1): time 9.766e-05/0.00472, allocations: 30.58 kB / 0.8149 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.293e-05/0.004743, allocations: 51.41 kB / 0.815 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.333e-05/0.004837, allocations: 142.8 kB / 0.8151 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 7.945e-06/0.004845, allocations: 29.7 kB / 0.8152 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 2.628e-05/0.004871, allocations: 127.5 kB / 0.8153 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.131e-05/0.004892, allocations: 0.9688 kB / 0.8153 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.971e-05/0.004912, allocations: 15.38 kB / 0.8153 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.005028, allocations: 0.5014 MB / 0.8158 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.723e-06/0.005035, allocations: 0 / 0.8158 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.29e-06/0.00504, allocations: 3.938 kB / 0.8158 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.372e-05/0.005064, allocations: 12.5 kB / 0.8158 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.005065, allocations: 0 / 0.8158 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.726e-05/0.005112, allocations: 34.59 kB / 0.8158 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/0.005123, allocations: 8 kB / 0.8158 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-06/0.005126, allocations: 1.219 kB / 0.8158 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.893e-06/0.005133, allocations: 0 / 0.8158 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.721e-05/0.00516, allocations: 0 / 0.8158 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.635e-06/0.005163, allocations: 4.953 kB / 0.8158 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.092e-05/0.005174, allocations: 4 kB / 0.8159 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.637e-06/0.005177, allocations: 0 / 0.8159 GB, free: 14.14 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 (1): * Single equations (assignments): 1 * 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 6.775e-05/0.005245, allocations: 158.8 kB / 0.816 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.065e-05/0.005256, allocations: 3.938 kB / 0.816 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.444e-05/0.00531, allocations: 40.7 kB / 0.816 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.005311, allocations: 0 / 0.816 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-06/0.005313, allocations: 3.344 kB / 0.8161 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.005315, allocations: 3.984 kB / 0.8161 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.898e-05/0.005364, allocations: 97.14 kB / 0.8161 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.005365, allocations: 0 / 0.8161 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.195e-06/0.005373, allocations: 4 kB / 0.8162 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.82e-07/0.005374, allocations: 0 / 0.8162 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.835e-06/0.005377, allocations: 0 / 0.8162 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.32e-07/0.005378, allocations: 0 / 0.8162 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.005381, allocations: 7.984 kB / 0.8162 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.352e-05/0.005434, allocations: 77.31 kB / 0.8162 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.949e-06/0.005439, allocations: 8 kB / 0.8162 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.36e-06/0.005444, allocations: 0.5 kB / 0.8162 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.246e-06/0.005448, allocations: 0.5625 kB / 0.8162 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.305e-06/0.005456, allocations: 0 / 0.8162 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-06/0.005457, allocations: 0.5625 kB / 0.8162 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 2.544e-05/0.005483, allocations: 119.2 kB / 0.8164 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.005483, allocations: 1.062 kB / 0.8164 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001257/0.005608, allocations: 15.94 kB / 0.8164 GB, free: 13.55 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 (1): * Single equations (assignments): 1 * 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.0001485/0.005757, allocations: 112.3 kB / 0.8165 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 4.89e-05/0.005806, allocations: 12.34 kB / 0.8165 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.005807, allocations: 0 / 0.8165 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.625e-06/0.005815, allocations: 16.19 kB / 0.8165 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.316e-05/0.005898, allocations: 4.969 kB / 0.8165 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001202/0.006018, allocations: 91.92 kB / 0.8166 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.206e-05/0.00604, allocations: 52.33 kB / 0.8166 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.4e-05/0.006054, allocations: 1.031 kB / 0.8166 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.433e-05/0.006079, allocations: 66.2 kB / 0.8167 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of SimCode: time 4.51e-07/0.006079, allocations: 0 / 0.8167 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of Templates: time 0.001882/0.007961, allocations: 0.5422 MB / 0.8172 GB, free: 12.61 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_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.124625908210874]