Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.00101/0.00101, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.001108/0.001108, allocations: 177 kB / 23.35 MB, free: 1.141 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.9715/0.9715, allocations: 177.1 MB / 203.8 MB, free: 5.453 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.461/2.461, allocations: 438.8 MB / 0.6826 GB, free: 13.64 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.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.554e-06/2.554e-06, allocations: 0 / 0.8387 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.862e-05/3.118e-05, allocations: 8.422 kB / 0.8387 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.002435/0.002466, allocations: 0.6697 MB / 0.8393 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0005173/0.002983, allocations: 318.8 kB / 0.8396 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2e-05/0.003003, allocations: 0 / 0.8396 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.445e-05/0.003018, allocations: 3.938 kB / 0.8396 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 1.931e-05/0.003037, allocations: 0 / 0.8396 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003494/0.003386, allocations: 99.56 kB / 0.8397 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 4.612e-05/0.003433, allocations: 4 kB / 0.8397 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 4.051e-05/0.003473, allocations: 0 / 0.8397 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 3.728e-05/0.00351, allocations: 11.98 kB / 0.8397 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 5.266e-05/0.003563, allocations: 0 / 0.8397 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.432e-05/0.003577, allocations: 4 kB / 0.8397 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002982/0.003876, allocations: 275.6 kB / 0.84 GB, free: 12.78 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.097e-05/0.003886, allocations: 4 kB / 0.84 GB, free: 12.78 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.324e-05/0.0039, allocations: 7.938 kB / 0.84 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001513/0.004051, allocations: 127.6 kB / 0.8401 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.696e-06/0.004054, allocations: 4 kB / 0.8401 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.31e-07/0.004054, allocations: 0 / 0.8401 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.004059, allocations: 0 / 0.8401 GB, free: 12.64 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002532/0.004312, allocations: 244.8 kB / 0.8404 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.004345, allocations: 12.03 kB / 0.8404 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.3e-05/0.004408, allocations: 0.9375 kB / 0.8404 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.416e-05/0.004482, allocations: 109.8 kB / 0.8405 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.716e-06/0.00449, allocations: 384 / 0.8405 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.611e-05/0.004507, allocations: 8.359 kB / 0.8405 GB, free: 12.22 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.814e-05/0.004575, allocations: 59.95 kB / 0.8406 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.004582, allocations: 4.188 kB / 0.8406 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.741e-06/0.004588, allocations: 384 / 0.8406 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.004593, allocations: 384 / 0.8406 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.152e-05/0.004604, allocations: 11.88 kB / 0.8406 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.92e-05/0.004693, allocations: 61.03 kB / 0.8406 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.615e-05/0.004729, allocations: 18.61 kB / 0.8407 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.146e-05/0.004741, allocations: 12.92 kB / 0.8407 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002844/0.005025, allocations: 67.94 kB / 0.8407 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.274e-05/0.005048, allocations: 34.56 kB / 0.8408 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.005049, allocations: 0 / 0.8408 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.0003674/0.005416, allocations: 173.2 kB / 0.8409 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.429e-05/0.005441, allocations: 59.62 kB / 0.841 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.588e-05/0.005487, allocations: 106.6 kB / 0.8411 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.258e-06/0.005496, allocations: 25.7 kB / 0.8411 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.275e-05/0.005519, allocations: 84.14 kB / 0.8412 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.953e-05/0.005538, allocations: 7.906 kB / 0.8412 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.228e-05/0.00556, allocations: 17.7 kB / 0.8412 GB, free: 11.37 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.206e-05/0.005632, allocations: 318.8 kB / 0.8415 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.017e-06/0.005641, allocations: 7.984 kB / 0.8415 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.141e-05/0.005663, allocations: 13.72 kB / 0.8415 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.982e-05/0.005693, allocations: 21.84 kB / 0.8416 GB, free: 11 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.005694, allocations: 0 / 0.8416 GB, free: 11 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.148e-05/0.005755, allocations: 45.62 kB / 0.8416 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.928e-06/0.005765, allocations: 4 kB / 0.8416 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-06/0.005769, allocations: 0 / 0.8416 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.005781, allocations: 4 kB / 0.8416 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.259e-05/0.005814, allocations: 7.984 kB / 0.8416 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.005818, allocations: 7.938 kB / 0.8416 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.106e-05/0.005829, allocations: 4 kB / 0.8416 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-06/0.005835, allocations: 4 kB / 0.8416 GB, free: 10.91 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.85e-05/0.005883, allocations: 121.8 kB / 0.8417 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.377e-05/0.005897, allocations: 4 kB / 0.8418 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.299e-05/0.00597, allocations: 53.34 kB / 0.8418 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.005971, allocations: 0 / 0.8418 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-06/0.005972, allocations: 0 / 0.8418 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.005975, allocations: 0 / 0.8418 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.869e-05/0.006023, allocations: 65.84 kB / 0.8419 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.006024, allocations: 0 / 0.8419 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.553e-05/0.00605, allocations: 12 kB / 0.8419 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.21e-07/0.00605, allocations: 0 / 0.8419 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.869e-06/0.006055, allocations: 3.984 kB / 0.8419 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.006057, allocations: 3.938 kB / 0.8419 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.006057, allocations: 0 / 0.8419 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.605e-05/0.006133, allocations: 65.25 kB / 0.8419 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 7.094e-06/0.00614, allocations: 11.98 kB / 0.842 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.043e-06/0.006147, allocations: 0 / 0.842 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.405e-05/0.006162, allocations: 4 kB / 0.842 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.067e-05/0.006172, allocations: 3.984 kB / 0.842 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.006175, allocations: 7.938 kB / 0.842 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 6.523e-06/0.006182, allocations: 8.891 kB / 0.842 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.006182, allocations: 0 / 0.842 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000117/0.006299, allocations: 23.94 kB / 0.842 GB, free: 10.48 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (3): * Single equations (assignments): 3 * 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.0001299/0.006429, allocations: 112.3 kB / 0.8421 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.019e-05/0.006479, allocations: 20.8 kB / 0.8421 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.006482, allocations: 0 / 0.8421 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.02e-05/0.006492, allocations: 16.84 kB / 0.8421 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.87e-05/0.00655, allocations: 5.469 kB / 0.8422 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001576/0.006708, allocations: 104.8 kB / 0.8423 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.411e-05/0.006732, allocations: 51.36 kB / 0.8423 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.088e-05/0.006753, allocations: 4 kB / 0.8423 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.645e-05/0.006789, allocations: 59.3 kB / 0.8424 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of SimCode: time 5.41e-07/0.00679, allocations: 0 / 0.8424 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of Templates: time 0.003098/0.009888, allocations: 1.052 MB / 0.8434 GB, free: 9.02 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.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.36727482965216]