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.0009883/0.0009883, 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.001027/0.001027, 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.9294/0.9294, 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.832/1.832, allocations: 377.9 MB / 0.6236 GB, free: 8.539 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.353e-06/1.353e-06, allocations: 0 / 0.8116 GB, free: 1.676 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.363e-05/1.498e-05, allocations: 5.734 kB / 0.8116 GB, free: 1.672 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.004304/0.004319, allocations: 0.5994 MB / 0.8122 GB, free: 1.094 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0004923/0.004812, allocations: 307.6 kB / 0.8125 GB, free: 0.793 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.239e-05/0.004824, allocations: 0.5625 kB / 0.8125 GB, free: 0.793 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 1.385e-05/0.004838, allocations: 0 / 0.8125 GB, free: 0.793 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 4.118e-06/0.004842, allocations: 4.625 kB / 0.8125 GB, free: 0.7891 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003418/0.005184, allocations: 109.2 kB / 0.8126 GB, free: 0.6836 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 3.118e-05/0.005215, allocations: 0 / 0.8126 GB, free: 0.6836 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.101e-05/0.005246, allocations: 4.859 kB / 0.8126 GB, free: 0.6797 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 2.059e-05/0.005267, allocations: 4 kB / 0.8126 GB, free: 0.6758 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 1.518e-05/0.005282, allocations: 1.25 kB / 0.8126 GB, free: 0.6758 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.03e-05/0.005292, allocations: 0 / 0.8126 GB, free: 0.6758 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003386/0.005631, allocations: 259.6 kB / 0.8128 GB, free: 432 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.08e-05/0.005641, allocations: 0 / 0.8128 GB, free: 432 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.206e-05/0.005653, allocations: 1.562 kB / 0.8128 GB, free: 432 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0002357/0.005889, allocations: 111.7 kB / 0.8129 GB, free: 320 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.005892, allocations: 0 / 0.8129 GB, free: 320 kB / 0.7605 GB Notification: Performance of FrontEnd: time 4.91e-07/0.005892, allocations: 0 / 0.8129 GB, free: 320 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.527e-06/0.005896, allocations: 1.406 kB / 0.8129 GB, free: 320 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.0002507/0.006146, allocations: 364.1 kB / 0.8133 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.006178, allocations: 8.031 kB / 0.8133 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.61e-05/0.006244, allocations: 4.938 kB / 0.8133 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.424e-05/0.006299, allocations: 106.1 kB / 0.8134 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.606e-06/0.006307, allocations: 8.312 kB / 0.8134 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.078e-06/0.006316, allocations: 384 / 0.8134 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.059e-05/0.006377, allocations: 34.97 kB / 0.8134 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.006385, allocations: 192 / 0.8134 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.201e-06/0.006391, allocations: 1.375 kB / 0.8135 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.006397, allocations: 384 / 0.8135 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.272e-05/0.006409, allocations: 7.938 kB / 0.8135 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.597e-05/0.006495, allocations: 109.2 kB / 0.8136 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 3.345e-05/0.006529, allocations: 31.75 kB / 0.8136 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.51e-05/0.006544, allocations: 11.69 kB / 0.8136 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002492/0.006793, allocations: 53.91 kB / 0.8137 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.953e-05/0.006813, allocations: 34.52 kB / 0.8137 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=1): time 6.32e-07/0.006813, allocations: 0 / 0.8137 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1): time 0.0001058/0.006919, allocations: 34.47 kB / 0.8137 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.363e-05/0.006943, allocations: 59.41 kB / 0.8138 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.989e-05/0.006983, allocations: 142.9 kB / 0.8139 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.105e-06/0.006991, allocations: 25.7 kB / 0.8139 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.021e-05/0.007021, allocations: 128.1 kB / 0.8141 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.00704, allocations: 352 / 0.8141 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.642e-05/0.007066, allocations: 23.31 kB / 0.8141 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.003237/0.0103, allocations: 0.4883 MB / 0.8146 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.534e-06/0.01031, allocations: 1.844 kB / 0.8146 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.119e-06/0.01032, allocations: 0 / 0.8146 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.369e-05/0.01034, allocations: 15.69 kB / 0.8146 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.01034, allocations: 2.312 kB / 0.8146 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.869e-05/0.0104, allocations: 37.66 kB / 0.8146 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.01041, allocations: 4 kB / 0.8146 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.01041, allocations: 0 / 0.8146 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.01043, allocations: 0 / 0.8146 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.317e-05/0.01046, allocations: 11.92 kB / 0.8146 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-06/0.01046, allocations: 7.375 kB / 0.8146 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.887e-06/0.01047, allocations: 3.938 kB / 0.8146 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.787e-06/0.01047, allocations: 0 / 0.8146 GB, free: 14.39 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.517e-05/0.01053, allocations: 152.6 kB / 0.8148 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.441e-05/0.01054, allocations: 4 kB / 0.8148 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.069e-05/0.01061, allocations: 36.7 kB / 0.8148 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.175e-06/0.01061, allocations: 3.984 kB / 0.8148 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-06/0.01061, allocations: 0.625 kB / 0.8148 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.01061, allocations: 0 / 0.8148 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.419e-05/0.01067, allocations: 113.1 kB / 0.8149 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.01067, allocations: 0.5625 kB / 0.8149 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.492e-06/0.01067, allocations: 0 / 0.8149 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.72e-07/0.01067, allocations: 0.5625 kB / 0.8149 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.568e-06/0.01068, allocations: 5.406 kB / 0.8149 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.62e-07/0.01068, allocations: 0 / 0.8149 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.01068, allocations: 0 / 0.8149 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.428e-05/0.01074, allocations: 76.31 kB / 0.815 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.707e-06/0.01075, allocations: 4.531 kB / 0.815 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.286e-06/0.01076, allocations: 4.625 kB / 0.815 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.24e-06/0.01076, allocations: 0 / 0.815 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.189e-05/0.01077, allocations: 5.969 kB / 0.815 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-06/0.01078, allocations: 0 / 0.815 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 2.635e-05/0.0108, allocations: 119.2 kB / 0.8151 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.0108, allocations: 0 / 0.8151 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001835/0.01098, allocations: 11.94 kB / 0.8152 GB, free: 13.8 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.0001213/0.01111, allocations: 116 kB / 0.8153 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 5.427e-05/0.01116, allocations: 20.56 kB / 0.8153 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.01116, allocations: 0 / 0.8153 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.493e-06/0.01117, allocations: 9.031 kB / 0.8153 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000114/0.01128, allocations: 4 kB / 0.8153 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001443/0.01143, allocations: 88.84 kB / 0.8154 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.568e-05/0.01145, allocations: 51.36 kB / 0.8154 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.373e-05/0.01147, allocations: 9.391 kB / 0.8154 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.392e-05/0.01148, allocations: 8.5 kB / 0.8154 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of SimCode: time 3.91e-07/0.01148, allocations: 3.938 kB / 0.8155 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of Templates: time 0.005059/0.01654, allocations: 485.5 kB / 0.8159 GB, free: 12.97 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.014506021980196]