Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009864/0.0009864, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.0009488/0.0009488, allocations: 165 kB / 24.17 MB, free: 332 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 0.9847/0.9847, allocations: 177.2 MB / 204.6 MB, free: 5.48 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.972/1.972, allocations: 377.9 MB / 0.624 GB, free: 8.367 MB / 0.5886 GB " [Timeout remaining time 178] 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.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_12_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_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.7601 GB, free: 6.531 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.899e-05/2.061e-05, allocations: 6.891 kB / 0.7601 GB, free: 6.527 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001893/0.001914, allocations: 0.6736 MB / 0.7608 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0007404/0.002654, allocations: 328.5 kB / 0.7611 GB, free: 5.559 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.606e-05/0.00268, allocations: 0 / 0.7611 GB, free: 5.559 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.597e-05/0.002696, allocations: 0 / 0.7611 GB, free: 5.559 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 2.525e-05/0.002721, allocations: 1.328 kB / 0.7611 GB, free: 5.559 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004461/0.003167, allocations: 89.67 kB / 0.7612 GB, free: 5.473 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 5.109e-05/0.003219, allocations: 10.67 kB / 0.7612 GB, free: 5.465 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.562e-05/0.003254, allocations: 3.938 kB / 0.7612 GB, free: 5.461 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.983e-05/0.003294, allocations: 12.75 kB / 0.7612 GB, free: 5.449 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.733e-05/0.003351, allocations: 0.875 kB / 0.7612 GB, free: 5.449 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.687e-05/0.003368, allocations: 5.25 kB / 0.7612 GB, free: 5.445 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004633/0.003831, allocations: 275.6 kB / 0.7615 GB, free: 5.176 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.404e-05/0.003846, allocations: 0.6562 kB / 0.7615 GB, free: 5.176 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.692e-05/0.003862, allocations: 12.91 kB / 0.7615 GB, free: 5.164 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002133/0.004076, allocations: 124.6 kB / 0.7616 GB, free: 5.043 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.004078, allocations: 0.6875 kB / 0.7616 GB, free: 5.043 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.22e-07/0.004079, allocations: 0.7656 kB / 0.7616 GB, free: 5.043 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.826e-06/0.004082, allocations: 1.719 kB / 0.7616 GB, free: 5.043 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002759/0.004358, allocations: 240.5 kB / 0.7618 GB, free: 4.781 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.004394, allocations: 8.031 kB / 0.7618 GB, free: 4.773 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.714e-05/0.004462, allocations: 6.25 kB / 0.7618 GB, free: 4.77 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.125e-05/0.004553, allocations: 110.4 kB / 0.7619 GB, free: 4.637 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.004563, allocations: 384 / 0.7619 GB, free: 4.637 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.791e-05/0.004581, allocations: 4.938 kB / 0.762 GB, free: 4.633 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.03e-05/0.004671, allocations: 64.64 kB / 0.762 GB, free: 4.559 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-06/0.004678, allocations: 192 / 0.762 GB, free: 4.559 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.163e-06/0.004686, allocations: 1.125 kB / 0.762 GB, free: 4.559 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.004691, allocations: 384 / 0.762 GB, free: 4.559 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.514e-05/0.004706, allocations: 8.719 kB / 0.762 GB, free: 4.551 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001024/0.004808, allocations: 61.38 kB / 0.7621 GB, free: 4.477 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.514e-05/0.004854, allocations: 24.78 kB / 0.7621 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.468e-05/0.004868, allocations: 8.859 kB / 0.7621 GB, free: 4.434 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004019/0.00527, allocations: 74.7 kB / 0.7622 GB, free: 4.363 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.117e-05/0.005291, allocations: 41.38 kB / 0.7622 GB, free: 4.316 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.005292, allocations: 0 / 0.7622 GB, free: 4.316 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0003514/0.005644, allocations: 173.2 kB / 0.7624 GB, free: 4.113 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.187e-05/0.005666, allocations: 51.41 kB / 0.7624 GB, free: 4.051 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.31e-05/0.005709, allocations: 101.5 kB / 0.7625 GB, free: 3.941 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.024e-05/0.005719, allocations: 29.7 kB / 0.7626 GB, free: 3.906 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.043e-05/0.005739, allocations: 88.78 kB / 0.7626 GB, free: 3.816 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.753e-05/0.005757, allocations: 3.953 kB / 0.7627 GB, free: 3.812 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.288e-05/0.00578, allocations: 17.7 kB / 0.7627 GB, free: 3.789 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.811e-05/0.005848, allocations: 314.8 kB / 0.763 GB, free: 3.473 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.065e-06/0.005856, allocations: 7.984 kB / 0.763 GB, free: 3.465 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.584e-05/0.005872, allocations: 18.5 kB / 0.763 GB, free: 3.441 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.792e-05/0.0059, allocations: 23.59 kB / 0.763 GB, free: 3.414 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.0059, allocations: 0 / 0.763 GB, free: 3.414 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.545e-05/0.005956, allocations: 46.44 kB / 0.7631 GB, free: 3.363 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/0.005967, allocations: 5.562 kB / 0.7631 GB, free: 3.359 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.005971, allocations: 0 / 0.7631 GB, free: 3.359 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.005981, allocations: 4 kB / 0.7631 GB, free: 3.355 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.182e-05/0.006013, allocations: 7.984 kB / 0.7631 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.264e-06/0.006015, allocations: 0 / 0.7631 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.457e-06/0.006024, allocations: 1.938 kB / 0.7631 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.00603, allocations: 7.938 kB / 0.7631 GB, free: 3.34 MB / 0.7136 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.594e-05/0.006076, allocations: 114.4 kB / 0.7632 GB, free: 3.219 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.623e-05/0.006092, allocations: 12 kB / 0.7632 GB, free: 3.207 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.831e-05/0.00616, allocations: 54.09 kB / 0.7633 GB, free: 3.152 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.006162, allocations: 0.5625 kB / 0.7633 GB, free: 3.152 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-06/0.006163, allocations: 4.609 kB / 0.7633 GB, free: 3.152 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.006165, allocations: 0 / 0.7633 GB, free: 3.152 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.991e-05/0.006215, allocations: 69.84 kB / 0.7633 GB, free: 3.066 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.31e-07/0.006216, allocations: 0 / 0.7633 GB, free: 3.066 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.707e-05/0.006243, allocations: 8 kB / 0.7633 GB, free: 3.059 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.91e-07/0.006244, allocations: 0 / 0.7633 GB, free: 3.059 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.158e-06/0.006248, allocations: 3.984 kB / 0.7633 GB, free: 3.055 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.62e-07/0.006249, allocations: 0 / 0.7633 GB, free: 3.055 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.00625, allocations: 0 / 0.7633 GB, free: 3.055 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.72e-05/0.006327, allocations: 68.06 kB / 0.7634 GB, free: 2.973 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.659e-06/0.006331, allocations: 4 kB / 0.7634 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.043e-06/0.006338, allocations: 0.9844 kB / 0.7634 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.289e-05/0.006351, allocations: 0 / 0.7634 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.232e-05/0.006364, allocations: 11.92 kB / 0.7634 GB, free: 2.957 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-06/0.006366, allocations: 4 kB / 0.7634 GB, free: 2.953 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.57e-06/0.006372, allocations: 4.859 kB / 0.7634 GB, free: 2.945 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.006372, allocations: 0 / 0.7634 GB, free: 2.945 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001165/0.006489, allocations: 24.94 kB / 0.7635 GB, free: 2.922 MB / 0.7136 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.000118/0.006607, allocations: 114.7 kB / 0.7636 GB, free: 2.801 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 4.828e-05/0.006655, allocations: 17.09 kB / 0.7636 GB, free: 2.781 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.006658, allocations: 4 kB / 0.7636 GB, free: 2.777 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.187e-05/0.006669, allocations: 21.33 kB / 0.7636 GB, free: 2.754 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.467e-05/0.006724, allocations: 4.688 kB / 0.7636 GB, free: 2.75 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001525/0.006877, allocations: 104.8 kB / 0.7637 GB, free: 2.621 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.457e-05/0.006901, allocations: 56.58 kB / 0.7638 GB, free: 2.547 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.166e-05/0.006923, allocations: 1.812 kB / 0.7638 GB, free: 2.547 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.469e-05/0.006957, allocations: 59.36 kB / 0.7638 GB, free: 2.488 MB / 0.7136 GB Notification: Performance of SimCode: time 3.91e-07/0.006958, allocations: 0.9062 kB / 0.7638 GB, free: 2.488 MB / 0.7136 GB Notification: Performance of Templates: time 0.002298/0.009256, allocations: 1.025 MB / 0.7648 GB, free: 1.508 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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: 4.933226034976542]