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.0009897/0.0009897, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.000992/0.000992, allocations: 165 kB / 24.17 MB, free: 328 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 1.028/1.028, allocations: 177.1 MB / 204.6 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.998/1.998, allocations: 377.9 MB / 0.624 GB, free: 8.328 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.693e-06/1.693e-06, allocations: 0 / 0.7601 GB, free: 6.539 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.315e-05/2.485e-05, allocations: 6.031 kB / 0.7601 GB, free: 6.535 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001327/0.001351, allocations: 0.6663 MB / 0.7608 GB, free: 5.891 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0004923/0.001844, allocations: 303.5 kB / 0.7611 GB, free: 5.598 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.329e-05/0.001857, allocations: 0 / 0.7611 GB, free: 5.598 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.145e-05/0.001869, allocations: 0 / 0.7611 GB, free: 5.598 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.152e-06/0.001875, allocations: 1.469 kB / 0.7611 GB, free: 5.598 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003065/0.002181, allocations: 88.28 kB / 0.7611 GB, free: 5.512 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 4.037e-05/0.002221, allocations: 6.672 kB / 0.7612 GB, free: 5.508 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.469e-05/0.002256, allocations: 4 kB / 0.7612 GB, free: 5.504 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 2.768e-05/0.002284, allocations: 0 / 0.7612 GB, free: 5.504 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 2.163e-05/0.002306, allocations: 1.25 kB / 0.7612 GB, free: 5.504 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.389e-05/0.002319, allocations: 0 / 0.7612 GB, free: 5.504 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003351/0.002655, allocations: 279.6 kB / 0.7614 GB, free: 5.23 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.077e-05/0.002665, allocations: 0.5938 kB / 0.7614 GB, free: 5.23 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.178e-05/0.002677, allocations: 0 / 0.7614 GB, free: 5.23 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001516/0.002829, allocations: 121.4 kB / 0.7615 GB, free: 5.113 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.002831, allocations: 1.562 kB / 0.7615 GB, free: 5.113 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.001e-06/0.002832, allocations: 0 / 0.7615 GB, free: 5.113 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.457e-06/0.002835, allocations: 0 / 0.7615 GB, free: 5.113 MB / 0.7136 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.0001978/0.003033, allocations: 229.3 kB / 0.7618 GB, free: 4.863 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.003068, allocations: 12.03 kB / 0.7618 GB, free: 4.852 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.067e-05/0.003128, allocations: 1.969 kB / 0.7618 GB, free: 4.852 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.766e-05/0.003186, allocations: 113.8 kB / 0.7619 GB, free: 4.715 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.167e-06/0.003195, allocations: 5.656 kB / 0.7619 GB, free: 4.711 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.001e-06/0.003201, allocations: 384 / 0.7619 GB, free: 4.711 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.889e-05/0.00326, allocations: 30.27 kB / 0.7619 GB, free: 4.676 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.991e-06/0.003266, allocations: 1.922 kB / 0.7619 GB, free: 4.676 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.65e-06/0.003272, allocations: 384 / 0.7619 GB, free: 4.676 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.003276, allocations: 384 / 0.7619 GB, free: 4.676 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.274e-05/0.003288, allocations: 12.62 kB / 0.7619 GB, free: 4.664 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.448e-05/0.003353, allocations: 53.8 kB / 0.762 GB, free: 4.598 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.087e-05/0.003384, allocations: 18.61 kB / 0.762 GB, free: 4.57 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.033e-05/0.003394, allocations: 15.03 kB / 0.762 GB, free: 4.555 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002118/0.003606, allocations: 45.11 kB / 0.7621 GB, free: 4.512 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.003634, allocations: 35.22 kB / 0.7621 GB, free: 4.469 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.003635, allocations: 0 / 0.7621 GB, free: 4.469 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0001138/0.003749, allocations: 37.2 kB / 0.7621 GB, free: 4.43 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.392e-05/0.003782, allocations: 51.41 kB / 0.7622 GB, free: 4.367 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.425e-05/0.003817, allocations: 89.86 kB / 0.7623 GB, free: 4.27 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.05e-05/0.003827, allocations: 25.7 kB / 0.7623 GB, free: 4.238 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.421e-05/0.003851, allocations: 80.14 kB / 0.7624 GB, free: 4.156 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.938e-05/0.003881, allocations: 0 / 0.7624 GB, free: 4.156 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.701e-05/0.003908, allocations: 25.69 kB / 0.7624 GB, free: 4.125 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.421e-05/0.003992, allocations: 315.4 kB / 0.7627 GB, free: 3.809 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.402e-06/0.003998, allocations: 3.125 kB / 0.7627 GB, free: 3.809 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.821e-06/0.004004, allocations: 4 kB / 0.7627 GB, free: 3.805 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.438e-05/0.004029, allocations: 4.859 kB / 0.7627 GB, free: 3.797 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.00403, allocations: 0 / 0.7627 GB, free: 3.797 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.924e-05/0.00409, allocations: 37.64 kB / 0.7627 GB, free: 3.754 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.004102, allocations: 4.656 kB / 0.7627 GB, free: 3.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.004106, allocations: 0 / 0.7627 GB, free: 3.75 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.004117, allocations: 5.797 kB / 0.7627 GB, free: 3.746 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001813/0.004298, allocations: 8 kB / 0.7628 GB, free: 3.738 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.093e-06/0.0043, allocations: 0 / 0.7628 GB, free: 3.738 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.604e-06/0.004308, allocations: 0 / 0.7628 GB, free: 3.738 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-06/0.004312, allocations: 0.875 kB / 0.7628 GB, free: 3.738 MB / 0.7136 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 4.569e-05/0.004358, allocations: 112.9 kB / 0.7629 GB, free: 3.621 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.583e-05/0.004373, allocations: 4 kB / 0.7629 GB, free: 3.617 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.97e-05/0.004433, allocations: 37.03 kB / 0.7629 GB, free: 3.574 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.004435, allocations: 0 / 0.7629 GB, free: 3.574 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-06/0.004436, allocations: 3.938 kB / 0.7629 GB, free: 3.57 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.004439, allocations: 0 / 0.7629 GB, free: 3.57 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.744e-05/0.004486, allocations: 64.62 kB / 0.763 GB, free: 3.492 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.004488, allocations: 4.984 kB / 0.763 GB, free: 3.488 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.043e-06/0.004495, allocations: 0 / 0.763 GB, free: 3.488 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.004496, allocations: 0 / 0.763 GB, free: 3.488 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.346e-06/0.004499, allocations: 0 / 0.763 GB, free: 3.488 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.81e-07/0.004499, allocations: 0 / 0.763 GB, free: 3.488 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.004501, allocations: 0 / 0.763 GB, free: 3.488 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.536e-05/0.004556, allocations: 69.02 kB / 0.763 GB, free: 3.402 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.116e-06/0.004559, allocations: 1.562 kB / 0.763 GB, free: 3.402 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.494e-06/0.004567, allocations: 4 kB / 0.763 GB, free: 3.398 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.637e-06/0.00457, allocations: 0.6562 kB / 0.763 GB, free: 3.398 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.698e-06/0.00458, allocations: 0 / 0.763 GB, free: 3.398 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-06/0.004582, allocations: 1.281 kB / 0.763 GB, free: 3.398 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.993e-06/0.004589, allocations: 4.859 kB / 0.763 GB, free: 3.391 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.004589, allocations: 0 / 0.763 GB, free: 3.391 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001088/0.004698, allocations: 24.39 kB / 0.7631 GB, free: 3.367 MB / 0.7136 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.0001276/0.004826, allocations: 90.56 kB / 0.7632 GB, free: 3.27 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 4.922e-05/0.004875, allocations: 13.72 kB / 0.7632 GB, free: 3.254 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.004877, allocations: 0 / 0.7632 GB, free: 3.254 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.43e-06/0.004882, allocations: 5.609 kB / 0.7632 GB, free: 3.246 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.203e-05/0.004934, allocations: 9.25 kB / 0.7632 GB, free: 3.238 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001484/0.005083, allocations: 74.47 kB / 0.7633 GB, free: 3.137 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.095e-05/0.005114, allocations: 55.36 kB / 0.7633 GB, free: 3.062 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.678e-05/0.00513, allocations: 5.141 kB / 0.7633 GB, free: 3.059 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.649e-05/0.005157, allocations: 47.38 kB / 0.7634 GB, free: 3.012 MB / 0.7136 GB Notification: Performance of SimCode: time 5.91e-07/0.005158, allocations: 0.7188 kB / 0.7634 GB, free: 3.012 MB / 0.7136 GB Notification: Performance of Templates: time 0.002025/0.007182, allocations: 0.5362 MB / 0.7639 GB, free: 2.496 MB / 0.7136 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 -s gbode -gbm=radauIIA3 -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.084172437898815]