Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.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.001633/0.001633, allocations: 92.22 kB / 19.65 MB, free: 280 kB / 13.93 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.002044/0.002044, allocations: 165 kB / 23.02 MB, free: 1.555 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.9618/0.9618, allocations: 177.1 MB / 203.4 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.06/2.06, allocations: 429.5 MB / 0.6732 GB, free: 4.055 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|regNonZeroPower.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|regNonZeroPower.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0.7656 kB / 0.8782 GB, free: 6.336 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.755e-05/1.893e-05, allocations: 5.266 kB / 0.8782 GB, free: 6.332 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.002485/0.002504, allocations: 1.505 MB / 0.8796 GB, free: 4.836 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.000699/0.003203, allocations: 368.7 kB / 0.88 GB, free: 4.48 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.154e-05/0.003235, allocations: 0 / 0.88 GB, free: 4.48 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.673e-05/0.003261, allocations: 5.531 kB / 0.88 GB, free: 4.477 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 3.885e-05/0.0033, allocations: 6.391 kB / 0.88 GB, free: 4.473 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004136/0.003714, allocations: 113.4 kB / 0.8801 GB, free: 4.363 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.266e-05/0.003777, allocations: 36.02 kB / 0.8801 GB, free: 4.328 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 6.436e-05/0.003841, allocations: 0 / 0.8801 GB, free: 4.328 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.941e-05/0.00389, allocations: 19.97 kB / 0.8802 GB, free: 4.309 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.264e-05/0.003923, allocations: 8.859 kB / 0.8802 GB, free: 4.301 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.356e-05/0.003936, allocations: 4 kB / 0.8802 GB, free: 4.297 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003769/0.004313, allocations: 253.1 kB / 0.8804 GB, free: 4.051 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.91e-05/0.004332, allocations: 7.938 kB / 0.8804 GB, free: 4.043 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.223e-05/0.004355, allocations: 11.98 kB / 0.8804 GB, free: 4.031 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002149/0.00457, allocations: 131.7 kB / 0.8806 GB, free: 3.902 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.714e-06/0.004571, allocations: 1.469 kB / 0.8806 GB, free: 3.902 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.61e-07/0.004572, allocations: 0 / 0.8806 GB, free: 3.902 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.597e-06/0.004575, allocations: 0 / 0.8806 GB, free: 3.902 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003605/0.004936, allocations: 388.3 kB / 0.8809 GB, free: 3.484 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.004976, allocations: 13.28 kB / 0.8809 GB, free: 3.473 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.963e-05/0.005046, allocations: 4.891 kB / 0.881 GB, free: 3.469 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.859e-05/0.005124, allocations: 108.6 kB / 0.8811 GB, free: 3.336 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.005135, allocations: 3.688 kB / 0.8811 GB, free: 3.336 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.325e-05/0.005148, allocations: 8.312 kB / 0.8811 GB, free: 3.328 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001319/0.00528, allocations: 58.94 kB / 0.8811 GB, free: 3.262 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.00529, allocations: 192 / 0.8811 GB, free: 3.262 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.005298, allocations: 384 / 0.8811 GB, free: 3.262 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.005306, allocations: 384 / 0.8811 GB, free: 3.262 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.775e-05/0.005344, allocations: 11.92 kB / 0.8811 GB, free: 3.25 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002893/0.005633, allocations: 247.8 kB / 0.8814 GB, free: 2.973 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.112e-05/0.005694, allocations: 39.03 kB / 0.8814 GB, free: 2.922 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.433e-05/0.005718, allocations: 11.75 kB / 0.8814 GB, free: 2.906 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004196/0.006138, allocations: 75.92 kB / 0.8815 GB, free: 2.832 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.834e-05/0.006186, allocations: 37.39 kB / 0.8815 GB, free: 2.785 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.006187, allocations: 4 kB / 0.8815 GB, free: 2.781 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001803/0.006368, allocations: 41.64 kB / 0.8816 GB, free: 2.734 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.024e-05/0.006398, allocations: 59.39 kB / 0.8816 GB, free: 2.664 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.398e-05/0.006482, allocations: 162.1 kB / 0.8818 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.188e-05/0.006494, allocations: 25.7 kB / 0.8818 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.751e-05/0.006551, allocations: 134.9 kB / 0.8819 GB, free: 2.32 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.988e-05/0.006571, allocations: 7.953 kB / 0.8819 GB, free: 2.312 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.171e-05/0.006603, allocations: 19.38 kB / 0.882 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001916/0.006795, allocations: 492.1 kB / 0.8824 GB, free: 1.793 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.935e-05/0.006814, allocations: 128 / 0.8824 GB, free: 1.793 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.677e-05/0.006831, allocations: 16.06 kB / 0.8824 GB, free: 1.777 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.928e-05/0.00687, allocations: 15.67 kB / 0.8825 GB, free: 1.758 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.006872, allocations: 0 / 0.8825 GB, free: 1.758 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.031e-05/0.006962, allocations: 45.66 kB / 0.8825 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.006975, allocations: 6.031 kB / 0.8825 GB, free: 1.703 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.006981, allocations: 3.938 kB / 0.8825 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.006996, allocations: 3.938 kB / 0.8825 GB, free: 1.695 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.528e-05/0.007061, allocations: 11.92 kB / 0.8825 GB, free: 1.684 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.007065, allocations: 0 / 0.8825 GB, free: 1.684 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.43e-05/0.00709, allocations: 12.03 kB / 0.8825 GB, free: 1.672 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.519e-06/0.007094, allocations: 0 / 0.8825 GB, free: 1.672 MB / 0.8386 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 (2): * Single equations (assignments): 2 * 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.603e-05/0.00716, allocations: 156.6 kB / 0.8827 GB, free: 1.508 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.64e-05/0.007197, allocations: 0 / 0.8827 GB, free: 1.508 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.522e-05/0.007292, allocations: 49.25 kB / 0.8827 GB, free: 1.457 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.007293, allocations: 0 / 0.8827 GB, free: 1.457 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.007296, allocations: 4 kB / 0.8827 GB, free: 1.453 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.007299, allocations: 0 / 0.8827 GB, free: 1.453 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001259/0.007425, allocations: 116.6 kB / 0.8829 GB, free: 1.305 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.007426, allocations: 0 / 0.8829 GB, free: 1.305 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.035e-05/0.007456, allocations: 8.031 kB / 0.8829 GB, free: 1.297 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.007459, allocations: 3.984 kB / 0.8829 GB, free: 1.293 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.231e-06/0.007466, allocations: 3.938 kB / 0.8829 GB, free: 1.289 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.007468, allocations: 7.938 kB / 0.8829 GB, free: 1.281 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.007469, allocations: 0 / 0.8829 GB, free: 1.281 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001221/0.007591, allocations: 187.9 kB / 0.8831 GB, free: 1.078 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.38e-06/0.007596, allocations: 0 / 0.8831 GB, free: 1.078 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.175e-05/0.007608, allocations: 3.984 kB / 0.8831 GB, free: 1.074 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.611e-05/0.007664, allocations: 7.938 kB / 0.8831 GB, free: 1.066 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.431e-05/0.007698, allocations: 32 / 0.8831 GB, free: 1.066 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.125e-06/0.007701, allocations: 4 kB / 0.8831 GB, free: 1.062 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.54e-05/0.007747, allocations: 135.2 kB / 0.8832 GB, free: 0.9297 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.01e-07/0.007747, allocations: 0 / 0.8832 GB, free: 0.9297 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002685/0.008015, allocations: 12 kB / 0.8832 GB, free: 0.918 MB / 0.8386 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 (2): * Single equations (assignments): 2 * 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.0001308/0.008146, allocations: 111.2 kB / 0.8833 GB, free: 0.7969 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.741e-05/0.008224, allocations: 23.61 kB / 0.8833 GB, free: 0.7695 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.008225, allocations: 0 / 0.8833 GB, free: 0.7695 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.255e-05/0.008247, allocations: 15.69 kB / 0.8834 GB, free: 0.75 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002491/0.008497, allocations: 8.125 kB / 0.8834 GB, free: 0.7422 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000253/0.00875, allocations: 118.2 kB / 0.8835 GB, free: 0.5977 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.615e-05/0.008786, allocations: 55.34 kB / 0.8835 GB, free: 0.5234 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.79e-05/0.008804, allocations: 4 kB / 0.8835 GB, free: 0.5195 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.498e-05/0.008829, allocations: 8.5 kB / 0.8835 GB, free: 0.5078 MB / 0.8386 GB Notification: Performance of SimCode: time 7.21e-07/0.008829, allocations: 3.938 kB / 0.8835 GB, free: 0.5039 MB / 0.8386 GB Notification: Performance of Templates: time 0.002739/0.01157, allocations: 0.7611 MB / 0.8843 GB, free: 15.75 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_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.374691707082093]