Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001611/0.001611, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001881/0.001881, allocations: 177.4 kB / 23.36 MB, free: 1.129 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.9789/0.9789, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.474/2.474, allocations: 438.8 MB / 0.6827 GB, free: 13.58 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 0.8387 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.731e-05/1.919e-05, allocations: 4.984 kB / 0.8387 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001188/0.001208, allocations: 0.6504 MB / 0.8393 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0004663/0.001674, allocations: 306.8 kB / 0.8396 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.701e-05/0.001691, allocations: 0 / 0.8396 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.324e-05/0.001704, allocations: 11.94 kB / 0.8396 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 5.681e-06/0.00171, allocations: 0 / 0.8396 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003032/0.002013, allocations: 83.64 kB / 0.8397 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 3.472e-05/0.002048, allocations: 0 / 0.8397 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.259e-05/0.00208, allocations: 0 / 0.8397 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 2.699e-05/0.002107, allocations: 0 / 0.8397 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 2.355e-05/0.002131, allocations: 7.984 kB / 0.8397 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 9.528e-06/0.00214, allocations: 0 / 0.8397 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003152/0.002456, allocations: 275.6 kB / 0.84 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.078e-05/0.002466, allocations: 3.984 kB / 0.84 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.017e-05/0.002477, allocations: 4 kB / 0.84 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001384/0.002615, allocations: 111.7 kB / 0.8401 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.002618, allocations: 3.984 kB / 0.8401 GB, free: 12.65 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.71e-07/0.002618, allocations: 0 / 0.8401 GB, free: 12.65 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.002622, allocations: 0 / 0.8401 GB, free: 12.65 MB / 0.8073 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.0001898/0.002812, allocations: 244.4 kB / 0.8403 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.002843, allocations: 8.625 kB / 0.8403 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.16e-05/0.002895, allocations: 1.281 kB / 0.8403 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.633e-05/0.002951, allocations: 109.7 kB / 0.8404 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.947e-06/0.00296, allocations: 8.375 kB / 0.8404 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.729e-06/0.002965, allocations: 384 / 0.8404 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.2e-05/0.003017, allocations: 30.27 kB / 0.8405 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.271e-06/0.003023, allocations: 192 / 0.8405 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.358e-06/0.003027, allocations: 384 / 0.8405 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.003031, allocations: 384 / 0.8405 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.938e-06/0.003041, allocations: 3.938 kB / 0.8405 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.141e-05/0.003103, allocations: 65.02 kB / 0.8405 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.111e-05/0.003134, allocations: 18.52 kB / 0.8406 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.046e-06/0.003142, allocations: 4.859 kB / 0.8406 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002051/0.003347, allocations: 48.06 kB / 0.8406 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.713e-05/0.003364, allocations: 30.56 kB / 0.8406 GB, free: 12 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=1): time 6.91e-07/0.003365, allocations: 0 / 0.8406 GB, free: 12 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1): time 8.793e-05/0.003453, allocations: 33.66 kB / 0.8407 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.277e-05/0.003476, allocations: 51.41 kB / 0.8407 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.924e-05/0.003505, allocations: 89.86 kB / 0.8408 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.516e-06/0.003513, allocations: 37.75 kB / 0.8408 GB, free: 11.76 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.865e-05/0.003532, allocations: 88.12 kB / 0.8409 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.004e-05/0.003562, allocations: 4 kB / 0.8409 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.434e-05/0.003586, allocations: 9.719 kB / 0.8409 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.222e-05/0.003659, allocations: 318.8 kB / 0.8412 GB, free: 11.33 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.753e-06/0.003665, allocations: 0 / 0.8412 GB, free: 11.33 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.46e-06/0.003671, allocations: 0 / 0.8412 GB, free: 11.33 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.141e-05/0.003692, allocations: 8.859 kB / 0.8412 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.003694, allocations: 0 / 0.8412 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.694e-05/0.003741, allocations: 37.75 kB / 0.8413 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.003752, allocations: 4 kB / 0.8413 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/0.003756, allocations: 7.938 kB / 0.8413 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.003769, allocations: 4 kB / 0.8413 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.716e-05/0.003796, allocations: 3.938 kB / 0.8413 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.144e-06/0.003798, allocations: 0 / 0.8413 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.943e-06/0.003805, allocations: 0 / 0.8413 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.047e-06/0.003809, allocations: 0 / 0.8413 GB, free: 11.25 MB / 0.8073 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.756e-05/0.003857, allocations: 113.8 kB / 0.8414 GB, free: 11.13 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.127e-05/0.003868, allocations: 0 / 0.8414 GB, free: 11.13 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.253e-05/0.003921, allocations: 40.72 kB / 0.8414 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.003922, allocations: 0 / 0.8414 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-06/0.003923, allocations: 0 / 0.8414 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.003925, allocations: 0 / 0.8414 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.315e-05/0.003968, allocations: 69.84 kB / 0.8415 GB, free: 11 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.003969, allocations: 0 / 0.8415 GB, free: 11 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.799e-06/0.003974, allocations: 0 / 0.8415 GB, free: 11 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.71e-07/0.003975, allocations: 0 / 0.8415 GB, free: 11 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.11e-06/0.00398, allocations: 7.984 kB / 0.8415 GB, free: 10.99 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.71e-07/0.003981, allocations: 0 / 0.8415 GB, free: 10.99 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.003982, allocations: 3.938 kB / 0.8415 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.545e-05/0.004028, allocations: 57.11 kB / 0.8416 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.059e-06/0.004033, allocations: 4 kB / 0.8416 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.421e-06/0.004038, allocations: 0 / 0.8416 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.197e-06/0.004042, allocations: 3.984 kB / 0.8416 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.307e-06/0.004052, allocations: 0 / 0.8416 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.51e-07/0.004052, allocations: 0 / 0.8416 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 5.71e-06/0.004058, allocations: 4.859 kB / 0.8416 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.004058, allocations: 4 kB / 0.8416 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001021/0.00416, allocations: 11.94 kB / 0.8416 GB, free: 10.88 MB / 0.8073 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.0001002/0.00426, allocations: 96.42 kB / 0.8417 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 4.233e-05/0.004303, allocations: 12.8 kB / 0.8417 GB, free: 10.76 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.004304, allocations: 0 / 0.8417 GB, free: 10.76 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 6.201e-06/0.004311, allocations: 12.86 kB / 0.8417 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.662e-05/0.004357, allocations: 5.656 kB / 0.8417 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001225/0.00448, allocations: 74.44 kB / 0.8418 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.539e-05/0.004505, allocations: 55.34 kB / 0.8419 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.325e-05/0.004518, allocations: 8.062 kB / 0.8419 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.138e-05/0.00454, allocations: 47.38 kB / 0.8419 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of SimCode: time 3.5e-07/0.00454, allocations: 0 / 0.8419 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of Templates: time 0.001697/0.006237, allocations: 0.5393 MB / 0.8424 GB, free: 9.973 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.3150781048461795]