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.001415/0.001415, allocations: 87.58 kB / 20.45 MB, free: 4.113 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.001545/0.001545, allocations: 161 kB / 23.82 MB, free: 0.7461 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.9825/0.9825, allocations: 177.1 MB / 204.2 MB, free: 5.648 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.807/1.807, allocations: 377.8 MB / 0.6236 GB, free: 8.562 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.452e-06/1.452e-06, allocations: 0.7656 kB / 0.8116 GB, free: 0.5469 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.262e-05/2.407e-05, allocations: 4.984 kB / 0.8116 GB, free: 0.543 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001194/0.001218, allocations: 0.6096 MB / 0.8122 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0004777/0.001696, allocations: 300 kB / 0.8125 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.735e-05/0.001713, allocations: 0 / 0.8125 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.901e-05/0.001732, allocations: 1.031 kB / 0.8125 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 5.871e-06/0.001738, allocations: 0 / 0.8125 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003935/0.002132, allocations: 112.3 kB / 0.8126 GB, free: 15.56 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 4.147e-05/0.002173, allocations: 1.688 kB / 0.8126 GB, free: 15.56 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.157e-05/0.002205, allocations: 4 kB / 0.8126 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 2.118e-05/0.002226, allocations: 4 kB / 0.8126 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 1.89e-05/0.002245, allocations: 3.984 kB / 0.8126 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.085e-05/0.002256, allocations: 1.531 kB / 0.8126 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002728/0.002529, allocations: 259.6 kB / 0.8128 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.156e-05/0.00254, allocations: 0 / 0.8128 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.234e-05/0.002553, allocations: 0 / 0.8128 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001563/0.002709, allocations: 117.4 kB / 0.8129 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.002711, allocations: 0 / 0.8129 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.71e-07/0.002712, allocations: 0 / 0.8129 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.366e-06/0.002715, allocations: 0 / 0.8129 GB, free: 15.18 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002628/0.002978, allocations: 364.1 kB / 0.8133 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.003013, allocations: 13.22 kB / 0.8133 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.846e-05/0.003082, allocations: 0.9375 kB / 0.8133 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.351e-05/0.003135, allocations: 108.6 kB / 0.8134 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.017e-06/0.003144, allocations: 2.094 kB / 0.8134 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.685e-06/0.003152, allocations: 4.375 kB / 0.8134 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.38e-05/0.003226, allocations: 30.25 kB / 0.8134 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.003234, allocations: 4.172 kB / 0.8135 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.153e-06/0.003241, allocations: 2.969 kB / 0.8135 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.003248, allocations: 384 / 0.8135 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.413e-05/0.003262, allocations: 15.81 kB / 0.8135 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.737e-05/0.00335, allocations: 104.6 kB / 0.8136 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 3.606e-05/0.003386, allocations: 27.09 kB / 0.8136 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.499e-05/0.003401, allocations: 15.69 kB / 0.8136 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002496/0.00365, allocations: 46.94 kB / 0.8137 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.025e-05/0.00367, allocations: 37.38 kB / 0.8137 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 1.172e-06/0.003672, allocations: 0 / 0.8137 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 0.000128/0.0038, allocations: 37.64 kB / 0.8137 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.568e-05/0.003825, allocations: 52.06 kB / 0.8138 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.526e-05/0.003861, allocations: 142.2 kB / 0.8139 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/0.003872, allocations: 26.64 kB / 0.8139 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.11e-05/0.003903, allocations: 126.9 kB / 0.8141 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.431e-05/0.003928, allocations: 1.156 kB / 0.8141 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.475e-05/0.003952, allocations: 23.38 kB / 0.8141 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.004057, allocations: 496.1 kB / 0.8146 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.086e-05/0.004068, allocations: 5.359 kB / 0.8146 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.833e-06/0.004075, allocations: 4 kB / 0.8146 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.571e-05/0.0041, allocations: 7.688 kB / 0.8146 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.004102, allocations: 1.125 kB / 0.8146 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.721e-05/0.004159, allocations: 37.64 kB / 0.8146 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.00417, allocations: 4.812 kB / 0.8146 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.004175, allocations: 3.984 kB / 0.8146 GB, free: 13.28 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.004186, allocations: 0.5312 kB / 0.8146 GB, free: 13.28 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.886e-05/0.004225, allocations: 4.844 kB / 0.8146 GB, free: 13.28 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.004231, allocations: 4 kB / 0.8146 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.688e-06/0.00424, allocations: 3.938 kB / 0.8146 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.004246, allocations: 6.047 kB / 0.8146 GB, free: 13.27 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 (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.744e-05/0.004304, allocations: 160.6 kB / 0.8148 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.3e-05/0.004317, allocations: 0 / 0.8148 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.656e-05/0.004383, allocations: 37.22 kB / 0.8148 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.004385, allocations: 0 / 0.8148 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.004388, allocations: 6.469 kB / 0.8148 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.004392, allocations: 4 kB / 0.8148 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.425e-05/0.004446, allocations: 116.5 kB / 0.8149 GB, free: 12.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.004447, allocations: 3.938 kB / 0.8149 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.915e-06/0.004455, allocations: 0 / 0.8149 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.004458, allocations: 4 kB / 0.815 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.43e-06/0.004464, allocations: 4 kB / 0.815 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.004465, allocations: 1.75 kB / 0.815 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.004466, allocations: 0 / 0.815 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.094e-05/0.004527, allocations: 72.38 kB / 0.815 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.116e-06/0.00453, allocations: 0 / 0.815 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.203e-06/0.004537, allocations: 0.5312 kB / 0.815 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.156e-06/0.00454, allocations: 0.5625 kB / 0.815 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.368e-05/0.004554, allocations: 4 kB / 0.815 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-06/0.004556, allocations: 1.344 kB / 0.815 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.597e-05/0.004582, allocations: 119.2 kB / 0.8151 GB, free: 12.67 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5.1e-08/0.004582, allocations: 0 / 0.8151 GB, free: 12.67 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001264/0.004708, allocations: 16.62 kB / 0.8152 GB, free: 12.66 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 (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.000132/0.00484, allocations: 119.8 kB / 0.8153 GB, free: 12.53 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.774e-05/0.004908, allocations: 15.38 kB / 0.8153 GB, free: 12.51 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.00491, allocations: 0 / 0.8153 GB, free: 12.51 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.34e-06/0.004915, allocations: 7.688 kB / 0.8153 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.526e-05/0.005, allocations: 7.938 kB / 0.8153 GB, free: 12.49 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001491/0.005149, allocations: 84.06 kB / 0.8154 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.576e-05/0.005175, allocations: 51.36 kB / 0.8154 GB, free: 12.31 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.303e-05/0.005188, allocations: 4 kB / 0.8154 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.247e-05/0.0052, allocations: 14.34 kB / 0.8155 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of SimCode: time 5.41e-07/0.005201, allocations: 0 / 0.8155 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of Templates: time 0.001995/0.007196, allocations: 0.5252 MB / 0.816 GB, free: 11.78 MB / 0.7292 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.860283648129553]