Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.001451/0.001451, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.001498/0.001498, allocations: 167.9 kB / 24.87 MB, free: 9.258 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.9816/0.9816, allocations: 177.1 MB / 205.3 MB, free: 5.523 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.889/1.889, allocations: 377.9 MB / 0.6247 GB, free: 8.414 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 0.8128 GB, free: 1.375 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.241e-05/2.415e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.371 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001637/0.001661, allocations: 0.6335 MB / 0.8135 GB, free: 0.7539 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0006401/0.002301, allocations: 322.7 kB / 0.8138 GB, free: 448 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.231e-05/0.002333, allocations: 0.625 kB / 0.8138 GB, free: 448 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 1.838e-05/0.002352, allocations: 5.344 kB / 0.8138 GB, free: 444 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 3.403e-05/0.002386, allocations: 0 / 0.8138 GB, free: 444 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.000401/0.002787, allocations: 116.8 kB / 0.8139 GB, free: 328 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 6.588e-05/0.002852, allocations: 27.91 kB / 0.8139 GB, free: 300 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 6.854e-05/0.002921, allocations: 8.672 kB / 0.8139 GB, free: 292 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 5.196e-05/0.002973, allocations: 8 kB / 0.8139 GB, free: 284 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 5.263e-05/0.003026, allocations: 16.88 kB / 0.8139 GB, free: 268 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.483e-05/0.00304, allocations: 0 / 0.8139 GB, free: 268 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002671/0.003307, allocations: 259.6 kB / 0.8142 GB, free: 8 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 3.214e-05/0.00334, allocations: 16.61 kB / 0.8142 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.385e-05/0.003353, allocations: 8.688 kB / 0.8142 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001604/0.003514, allocations: 123.7 kB / 0.8143 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.003516, allocations: 0 / 0.8143 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.62e-07/0.003517, allocations: 1.25 kB / 0.8143 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.003521, allocations: 4 kB / 0.8143 GB, free: 15.86 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003141/0.003835, allocations: 386.3 kB / 0.8147 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.003869, allocations: 16.02 kB / 0.8147 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.135e-05/0.00393, allocations: 8.938 kB / 0.8147 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000136/0.004066, allocations: 104.6 kB / 0.8148 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.004076, allocations: 4.375 kB / 0.8148 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.925e-05/0.004095, allocations: 16.3 kB / 0.8148 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.625e-05/0.004182, allocations: 90.59 kB / 0.8149 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.004192, allocations: 4.141 kB / 0.8149 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.524e-06/0.0042, allocations: 5.344 kB / 0.8149 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.004206, allocations: 4.375 kB / 0.8149 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.488e-05/0.00423, allocations: 15.92 kB / 0.815 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001097/0.00434, allocations: 105.9 kB / 0.8151 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.512e-05/0.004425, allocations: 63.77 kB / 0.8151 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.02e-05/0.004445, allocations: 19.67 kB / 0.8151 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002906/0.004736, allocations: 82.8 kB / 0.8152 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.206e-05/0.004758, allocations: 34.64 kB / 0.8153 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.004759, allocations: 4 kB / 0.8153 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11): time 0.0007414/0.005501, allocations: 433.6 kB / 0.8157 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.968e-05/0.005531, allocations: 60.94 kB / 0.8157 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.69e-05/0.005597, allocations: 157.9 kB / 0.8159 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.00561, allocations: 29.7 kB / 0.8159 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.673e-05/0.005647, allocations: 130.9 kB / 0.816 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.451e-05/0.005681, allocations: 41.16 kB / 0.8161 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.636e-05/0.005717, allocations: 31.36 kB / 0.8161 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002315/0.005949, allocations: 0.4923 MB / 0.8166 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.902e-05/0.005968, allocations: 15.92 kB / 0.8166 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.835e-05/0.005986, allocations: 12.61 kB / 0.8166 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.612e-05/0.006032, allocations: 35.69 kB / 0.8166 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.006033, allocations: 0.5 kB / 0.8166 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001088/0.006142, allocations: 93.62 kB / 0.8167 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.006154, allocations: 4 kB / 0.8167 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.006159, allocations: 4 kB / 0.8167 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.005e-06/0.006167, allocations: 0 / 0.8167 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.996e-05/0.006237, allocations: 35.91 kB / 0.8168 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.307e-06/0.00624, allocations: 5.484 kB / 0.8168 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.27e-05/0.006253, allocations: 3.938 kB / 0.8168 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.76e-06/0.006259, allocations: 4 kB / 0.8168 GB, free: 13.1 MB / 0.7761 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 (13): * Single equations (assignments): 13 * 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.18e-05/0.006321, allocations: 162.2 kB / 0.8169 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.298e-05/0.006343, allocations: 11.95 kB / 0.817 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000111/0.006454, allocations: 97.75 kB / 0.817 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.624e-06/0.006457, allocations: 4.516 kB / 0.8171 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.275e-06/0.006459, allocations: 4.625 kB / 0.8171 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.006462, allocations: 0 / 0.8171 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002344/0.006697, allocations: 314.6 kB / 0.8174 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.006698, allocations: 0 / 0.8174 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.213e-05/0.006771, allocations: 28.77 kB / 0.8174 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.006773, allocations: 0 / 0.8174 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.006778, allocations: 0.9062 kB / 0.8174 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.006781, allocations: 3.938 kB / 0.8174 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.006782, allocations: 1.344 kB / 0.8174 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001651/0.006947, allocations: 247.8 kB / 0.8176 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.036e-05/0.006967, allocations: 11.94 kB / 0.8176 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.999e-06/0.006977, allocations: 4 kB / 0.8176 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.218e-05/0.00702, allocations: 12.58 kB / 0.8177 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.369e-05/0.007033, allocations: 8.516 kB / 0.8177 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.007039, allocations: 0 / 0.8177 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.015e-05/0.007069, allocations: 125.1 kB / 0.8178 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.007069, allocations: 0 / 0.8178 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001941/0.007263, allocations: 39.94 kB / 0.8178 GB, free: 11.98 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.0001767/0.00744, allocations: 157.1 kB / 0.818 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.779e-05/0.007527, allocations: 44.55 kB / 0.818 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.007529, allocations: 0 / 0.818 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.905e-05/0.007558, allocations: 47.03 kB / 0.8181 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001569/0.007715, allocations: 8.656 kB / 0.8181 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002495/0.007964, allocations: 173.8 kB / 0.8182 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.427e-05/0.007999, allocations: 63.34 kB / 0.8183 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.841e-05/0.008037, allocations: 4 kB / 0.8183 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.509e-05/0.008092, allocations: 87.25 kB / 0.8184 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of SimCode: time 8.32e-07/0.008093, allocations: 4 kB / 0.8184 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of Templates: time 0.003284/0.01138, allocations: 1.624 MB / 0.82 GB, free: 9.766 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.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.161126117687672]