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.001048/0.001048, allocations: 82.64 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.000927/0.000927, allocations: 181 kB / 24.09 MB, free: 420 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.9703/0.9703, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.874/1.874, allocations: 377.9 MB / 0.624 GB, free: 8.422 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.483e-06/1.483e-06, allocations: 0 / 0.8121 GB, free: 1.398 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.636e-05/2.784e-05, allocations: 2.312 kB / 0.8121 GB, free: 1.395 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001876/0.001904, allocations: 0.5988 MB / 0.8127 GB, free: 0.8125 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0006353/0.00254, allocations: 294.8 kB / 0.8129 GB, free: 0.5234 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.192e-05/0.002561, allocations: 0.6875 kB / 0.8129 GB, free: 0.5234 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 1.49e-05/0.002576, allocations: 0.875 kB / 0.8129 GB, free: 0.5234 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 6.673e-06/0.002583, allocations: 0 / 0.8129 GB, free: 0.5234 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004592/0.003042, allocations: 110.1 kB / 0.813 GB, free: 428 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 3.535e-05/0.003078, allocations: 0 / 0.813 GB, free: 428 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.514e-05/0.003113, allocations: 3.984 kB / 0.813 GB, free: 424 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 6.464e-05/0.003177, allocations: 11.94 kB / 0.8131 GB, free: 412 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 2.312e-05/0.0032, allocations: 0 / 0.8131 GB, free: 412 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.198e-05/0.003212, allocations: 1.531 kB / 0.8131 GB, free: 412 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000399/0.003611, allocations: 255.6 kB / 0.8133 GB, free: 156 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.342e-05/0.003625, allocations: 0 / 0.8133 GB, free: 156 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 9.648e-06/0.003635, allocations: 0 / 0.8133 GB, free: 156 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0002017/0.003836, allocations: 116.2 kB / 0.8134 GB, free: 40 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.003839, allocations: 4.875 kB / 0.8134 GB, free: 36 kB / 0.7605 GB Notification: Performance of FrontEnd: time 1.433e-06/0.00384, allocations: 0 / 0.8134 GB, free: 36 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.557e-06/0.003844, allocations: 0 / 0.8134 GB, free: 36 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.0003206/0.004165, allocations: 356.9 kB / 0.8138 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.004208, allocations: 13.62 kB / 0.8138 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.081e-05/0.004269, allocations: 4.938 kB / 0.8138 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.651e-05/0.004325, allocations: 108.6 kB / 0.8139 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.004335, allocations: 4.359 kB / 0.8139 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.889e-06/0.00434, allocations: 384 / 0.8139 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.913e-05/0.004399, allocations: 30.8 kB / 0.8139 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.004406, allocations: 0.9062 kB / 0.8139 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.881e-06/0.004411, allocations: 4.375 kB / 0.8139 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.004417, allocations: 0.9062 kB / 0.8139 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.206e-05/0.004429, allocations: 9.562 kB / 0.8139 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.516e-05/0.004514, allocations: 93.2 kB / 0.814 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 3.067e-05/0.004545, allocations: 27.09 kB / 0.814 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.212e-05/0.004557, allocations: 11.69 kB / 0.8141 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002425/0.0048, allocations: 53.92 kB / 0.8141 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.914e-05/0.004819, allocations: 34.39 kB / 0.8141 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=1): time 6.81e-07/0.00482, allocations: 0 / 0.8141 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1): time 0.0001033/0.004923, allocations: 35.02 kB / 0.8142 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.53e-05/0.004948, allocations: 59.41 kB / 0.8142 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.723e-05/0.004985, allocations: 142.2 kB / 0.8144 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.568e-06/0.004995, allocations: 25.7 kB / 0.8144 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.272e-05/0.005028, allocations: 128.6 kB / 0.8145 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.361e-05/0.005051, allocations: 352 / 0.8145 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.222e-05/0.005074, allocations: 19.38 kB / 0.8145 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.005191, allocations: 0.4883 MB / 0.815 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.304e-06/0.005198, allocations: 2.219 kB / 0.815 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.661e-06/0.005204, allocations: 0 / 0.815 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.689e-05/0.00523, allocations: 11.69 kB / 0.815 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.005232, allocations: 0 / 0.815 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.751e-05/0.00529, allocations: 41.59 kB / 0.8151 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.005301, allocations: 6.969 kB / 0.8151 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.005306, allocations: 0 / 0.8151 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.005318, allocations: 0 / 0.8151 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.518e-05/0.005353, allocations: 4 kB / 0.8151 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.005358, allocations: 3.984 kB / 0.8151 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.963e-06/0.005365, allocations: 0 / 0.8151 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.536e-06/0.005369, allocations: 0 / 0.8151 GB, free: 14.16 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 5.662e-05/0.005425, allocations: 165.9 kB / 0.8152 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.315e-05/0.005439, allocations: 4 kB / 0.8152 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.926e-05/0.005498, allocations: 32.7 kB / 0.8153 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.005499, allocations: 0.625 kB / 0.8153 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.235e-06/0.005501, allocations: 4.516 kB / 0.8153 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.005504, allocations: 0 / 0.8153 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.13e-05/0.005555, allocations: 101.7 kB / 0.8154 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.005557, allocations: 0.6875 kB / 0.8154 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.402e-06/0.005563, allocations: 0 / 0.8154 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.203e-06/0.005565, allocations: 1.25 kB / 0.8154 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.157e-06/0.005569, allocations: 3.984 kB / 0.8154 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.005571, allocations: 7.984 kB / 0.8154 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.005573, allocations: 10.5 kB / 0.8154 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.575e-05/0.005629, allocations: 76.38 kB / 0.8155 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.296e-06/0.005632, allocations: 0 / 0.8155 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.3e-06/0.005637, allocations: 0 / 0.8155 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.426e-06/0.005641, allocations: 0 / 0.8155 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.536e-06/0.005649, allocations: 0 / 0.8155 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-06/0.005651, allocations: 0 / 0.8155 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 2.929e-05/0.00568, allocations: 124 kB / 0.8156 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.00568, allocations: 0 / 0.8156 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001253/0.005805, allocations: 12.88 kB / 0.8156 GB, free: 13.57 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.000145/0.00595, allocations: 112.4 kB / 0.8157 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 5.093e-05/0.006001, allocations: 11.69 kB / 0.8157 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.006003, allocations: 0 / 0.8157 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.843e-06/0.006009, allocations: 12.53 kB / 0.8157 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.339e-05/0.006093, allocations: 8.594 kB / 0.8157 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001381/0.006231, allocations: 91.94 kB / 0.8158 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.33e-05/0.006254, allocations: 55.27 kB / 0.8159 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.42e-05/0.006268, allocations: 0 / 0.8159 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.921e-05/0.006298, allocations: 70.2 kB / 0.8159 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of SimCode: time 5.51e-07/0.006298, allocations: 0 / 0.8159 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of Templates: time 0.001864/0.008162, allocations: 0.5357 MB / 0.8165 GB, free: 12.63 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: 4.905989645048976]