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.001349/0.001349, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001523/0.001523, allocations: 161 kB / 23.82 MB, free: 0.75 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.9305/0.9305, allocations: 177.1 MB / 204.2 MB, free: 5.258 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.82/1.82, allocations: 377.8 MB / 0.6236 GB, free: 8.57 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.543e-06/1.543e-06, allocations: 0 / 0.8116 GB, free: 1.676 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.687e-05/1.842e-05, allocations: 3.375 kB / 0.8116 GB, free: 1.672 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001043/0.001062, allocations: 0.6271 MB / 0.8122 GB, free: 1.066 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0004509/0.001513, allocations: 328.5 kB / 0.8125 GB, free: 0.7461 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.886e-05/0.001531, allocations: 0 / 0.8125 GB, free: 0.7461 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 1.396e-05/0.001545, allocations: 3.938 kB / 0.8125 GB, free: 0.7422 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 2.219e-05/0.001568, allocations: 0 / 0.8125 GB, free: 0.7422 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003043/0.001872, allocations: 120.9 kB / 0.8126 GB, free: 0.625 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 4.353e-05/0.001915, allocations: 25.52 kB / 0.8127 GB, free: 0.6016 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.133e-05/0.001947, allocations: 3.984 kB / 0.8127 GB, free: 0.5977 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 4.247e-05/0.001989, allocations: 19.97 kB / 0.8127 GB, free: 0.5781 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.122e-05/0.002031, allocations: 11.92 kB / 0.8127 GB, free: 0.5664 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.349e-05/0.002044, allocations: 4.719 kB / 0.8127 GB, free: 0.5625 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000245/0.002289, allocations: 259.6 kB / 0.813 GB, free: 316 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.295e-05/0.002302, allocations: 4.516 kB / 0.813 GB, free: 312 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.587e-05/0.002318, allocations: 9.641 kB / 0.813 GB, free: 304 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001555/0.002473, allocations: 139.5 kB / 0.8131 GB, free: 164 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.002476, allocations: 0 / 0.8131 GB, free: 164 kB / 0.7605 GB Notification: Performance of FrontEnd: time 4e-07/0.002476, allocations: 0 / 0.8131 GB, free: 164 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.00248, allocations: 0 / 0.8131 GB, free: 164 kB / 0.7605 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.0003225/0.002802, allocations: 388.9 kB / 0.8135 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.061e-05/0.002833, allocations: 9.344 kB / 0.8135 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.226e-05/0.002895, allocations: 8.938 kB / 0.8135 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.998e-05/0.002955, allocations: 108.6 kB / 0.8136 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.125e-06/0.002963, allocations: 384 / 0.8136 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.822e-05/0.002981, allocations: 9.531 kB / 0.8136 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.14e-05/0.003073, allocations: 105.6 kB / 0.8137 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.003081, allocations: 4.141 kB / 0.8137 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.246e-06/0.00309, allocations: 5.75 kB / 0.8137 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.003095, allocations: 384 / 0.8137 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.141e-05/0.003126, allocations: 19.92 kB / 0.8137 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001059/0.003232, allocations: 126.2 kB / 0.8139 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.438e-05/0.003316, allocations: 63.03 kB / 0.8139 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.593e-05/0.003342, allocations: 19.69 kB / 0.8139 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002872/0.003629, allocations: 90.38 kB / 0.814 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.003653, allocations: 35.55 kB / 0.8141 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 6.41e-07/0.003653, allocations: 0 / 0.8141 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11): time 0.0007559/0.004409, allocations: 450.5 kB / 0.8145 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.246e-05/0.004432, allocations: 55.41 kB / 0.8145 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.126e-05/0.004493, allocations: 153.9 kB / 0.8147 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.004505, allocations: 33.7 kB / 0.8147 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.353e-05/0.004538, allocations: 130.9 kB / 0.8148 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.215e-05/0.00457, allocations: 43.84 kB / 0.8149 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.853e-05/0.004609, allocations: 35.86 kB / 0.8149 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.004714, allocations: 496.7 kB / 0.8154 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.457e-05/0.004739, allocations: 15.98 kB / 0.8154 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.209e-05/0.004761, allocations: 17.88 kB / 0.8154 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.031e-05/0.004821, allocations: 53.61 kB / 0.8155 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.004822, allocations: 0 / 0.8155 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001001/0.004922, allocations: 93.64 kB / 0.8156 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/0.004933, allocations: 4 kB / 0.8156 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.004936, allocations: 2.25 kB / 0.8156 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.004953, allocations: 11.92 kB / 0.8156 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.745e-05/0.00502, allocations: 19.94 kB / 0.8156 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.848e-06/0.005024, allocations: 0 / 0.8156 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.36e-05/0.005037, allocations: 8 kB / 0.8156 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.005043, allocations: 192 / 0.8156 GB, free: 13.34 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.28e-05/0.005106, allocations: 165.7 kB / 0.8158 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.769e-05/0.005123, allocations: 7.953 kB / 0.8158 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001181/0.005241, allocations: 98.69 kB / 0.8159 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.005244, allocations: 11.88 kB / 0.8159 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.005247, allocations: 4.875 kB / 0.8159 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.00525, allocations: 0 / 0.8159 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002511/0.005501, allocations: 334.5 kB / 0.8162 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.005503, allocations: 4 kB / 0.8162 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.335e-05/0.005566, allocations: 27.39 kB / 0.8162 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.005568, allocations: 3.938 kB / 0.8162 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.543e-06/0.005575, allocations: 3.938 kB / 0.8162 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.005577, allocations: 4 kB / 0.8162 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.005578, allocations: 0 / 0.8162 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001697/0.005748, allocations: 251.8 kB / 0.8165 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.152e-05/0.005769, allocations: 15.94 kB / 0.8165 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.058e-05/0.00578, allocations: 3.938 kB / 0.8165 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.801e-05/0.005818, allocations: 7.984 kB / 0.8165 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.413e-05/0.005832, allocations: 6.188 kB / 0.8165 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.005838, allocations: 7.984 kB / 0.8165 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 2.71e-05/0.005865, allocations: 119.2 kB / 0.8166 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.005865, allocations: 4 kB / 0.8166 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001789/0.006044, allocations: 39.94 kB / 0.8167 GB, free: 12.18 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.0001489/0.006193, allocations: 156 kB / 0.8168 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.996e-05/0.006283, allocations: 54.73 kB / 0.8169 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.006284, allocations: 5.094 kB / 0.8169 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.000127/0.006411, allocations: 35.61 kB / 0.8169 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001423/0.006553, allocations: 13.2 kB / 0.8169 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000238/0.006791, allocations: 169.9 kB / 0.8171 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.157e-05/0.006823, allocations: 64.52 kB / 0.8172 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.138e-05/0.006854, allocations: 13.92 kB / 0.8172 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.1e-05/0.006875, allocations: 16.5 kB / 0.8172 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of SimCode: time 4.51e-07/0.006876, allocations: 1.688 kB / 0.8172 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of Templates: time 0.00268/0.009556, allocations: 1.42 MB / 0.8186 GB, free: 10.21 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.129120050929487]