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.001396/0.001396, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.000984/0.000984, allocations: 185 kB / 24.09 MB, free: 416 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.9549/0.9549, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.795/1.795, allocations: 377.9 MB / 0.624 GB, free: 8.375 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.052e-06/1.052e-06, allocations: 0.6562 kB / 0.8121 GB, free: 1.367 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.089e-05/1.194e-05, allocations: 8.094 kB / 0.8121 GB, free: 1.359 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.0009761/0.000988, allocations: 0.633 MB / 0.8127 GB, free: 0.7422 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0004541/0.001442, allocations: 319.4 kB / 0.813 GB, free: 440 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.844e-05/0.001471, allocations: 0 / 0.813 GB, free: 440 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 1.527e-05/0.001486, allocations: 4.844 kB / 0.813 GB, free: 436 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 2.867e-05/0.001514, allocations: 0 / 0.813 GB, free: 436 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003302/0.001845, allocations: 121.5 kB / 0.8131 GB, free: 316 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 5.091e-05/0.001896, allocations: 19.97 kB / 0.8131 GB, free: 296 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 2.938e-05/0.001925, allocations: 4 kB / 0.8131 GB, free: 292 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 5.934e-05/0.001984, allocations: 16.8 kB / 0.8132 GB, free: 276 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.71e-05/0.002031, allocations: 11.98 kB / 0.8132 GB, free: 264 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.423e-05/0.002046, allocations: 5.031 kB / 0.8132 GB, free: 260 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002404/0.002286, allocations: 259.6 kB / 0.8134 GB, free: 0 / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.572e-05/0.002302, allocations: 0 / 0.8134 GB, free: 0 / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.789e-05/0.00233, allocations: 21.66 kB / 0.8134 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001501/0.00248, allocations: 123.7 kB / 0.8136 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.002482, allocations: 0 / 0.8136 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.21e-07/0.002482, allocations: 0 / 0.8136 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 2.635e-06/0.002485, allocations: 0 / 0.8136 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.000443/0.002928, allocations: 393.8 kB / 0.8139 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.00296, allocations: 12.03 kB / 0.8139 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.431e-05/0.003015, allocations: 8.938 kB / 0.814 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.901e-05/0.003074, allocations: 106.4 kB / 0.8141 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.003083, allocations: 4.375 kB / 0.8141 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/0.003097, allocations: 4.375 kB / 0.8141 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.578e-05/0.003182, allocations: 101.6 kB / 0.8142 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.477e-06/0.003192, allocations: 4.141 kB / 0.8142 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.811e-06/0.003198, allocations: 1.594 kB / 0.8142 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.003203, allocations: 384 / 0.8142 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.504e-05/0.003228, allocations: 23.91 kB / 0.8142 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.899e-05/0.003327, allocations: 106.4 kB / 0.8143 GB, free: 15 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 6.896e-05/0.003396, allocations: 63.03 kB / 0.8144 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.949e-05/0.003415, allocations: 24.41 kB / 0.8144 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002607/0.003676, allocations: 82.58 kB / 0.8145 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.003702, allocations: 37.38 kB / 0.8145 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.001e-06/0.003703, allocations: 0.7188 kB / 0.8145 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11): time 0.0006274/0.004331, allocations: 430.3 kB / 0.8149 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.239e-05/0.004353, allocations: 63.28 kB / 0.815 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.404e-05/0.004407, allocations: 153.9 kB / 0.8151 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.858e-06/0.004417, allocations: 30.33 kB / 0.8151 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.344e-05/0.00445, allocations: 135.8 kB / 0.8153 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.195e-05/0.004482, allocations: 39.62 kB / 0.8153 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.068e-05/0.004513, allocations: 31.36 kB / 0.8153 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.004616, allocations: 0.493 MB / 0.8158 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.474e-05/0.00463, allocations: 11.98 kB / 0.8158 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.52e-05/0.004645, allocations: 12.53 kB / 0.8158 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.379e-05/0.004689, allocations: 46.67 kB / 0.8159 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.00469, allocations: 0 / 0.8159 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13) (initialization): time 8.848e-05/0.004779, allocations: 84.64 kB / 0.816 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.004791, allocations: 8 kB / 0.816 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.004795, allocations: 1.359 kB / 0.816 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.004806, allocations: 0 / 0.816 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.561e-05/0.004861, allocations: 28.86 kB / 0.816 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.004866, allocations: 3.938 kB / 0.816 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.202e-05/0.004878, allocations: 4 kB / 0.816 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.488e-06/0.004882, allocations: 1.219 kB / 0.816 GB, free: 13.11 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 5.402e-05/0.004936, allocations: 160.6 kB / 0.8162 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.883e-05/0.004955, allocations: 16.92 kB / 0.8162 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001019/0.005057, allocations: 105.7 kB / 0.8163 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.005058, allocations: 0 / 0.8163 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.00506, allocations: 6.25 kB / 0.8163 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.005063, allocations: 0 / 0.8163 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002051/0.005268, allocations: 318.1 kB / 0.8166 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.005269, allocations: 0 / 0.8166 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.511e-05/0.005324, allocations: 19.94 kB / 0.8166 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.005325, allocations: 4 kB / 0.8166 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.059e-06/0.00533, allocations: 7.391 kB / 0.8166 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.005333, allocations: 7.875 kB / 0.8166 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.6e-07/0.005333, allocations: 0 / 0.8166 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001394/0.005473, allocations: 244.1 kB / 0.8169 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.622e-05/0.005489, allocations: 11.94 kB / 0.8169 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.716e-06/0.005498, allocations: 4 kB / 0.8169 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.159e-05/0.005539, allocations: 7.938 kB / 0.8169 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.462e-05/0.005554, allocations: 7.984 kB / 0.8169 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.147e-06/0.005558, allocations: 0 / 0.8169 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 2.739e-05/0.005585, allocations: 124.1 kB / 0.817 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.005585, allocations: 0 / 0.817 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002367/0.005822, allocations: 44.42 kB / 0.8171 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.000188/0.00601, allocations: 158.2 kB / 0.8172 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001038/0.006114, allocations: 52.2 kB / 0.8173 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.006115, allocations: 1 kB / 0.8173 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.735e-05/0.006153, allocations: 39.61 kB / 0.8173 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000144/0.006297, allocations: 1.094 kB / 0.8173 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002419/0.006539, allocations: 173.9 kB / 0.8175 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.202e-05/0.006571, allocations: 55.36 kB / 0.8175 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.468e-05/0.006605, allocations: 14.69 kB / 0.8175 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.013e-05/0.006656, allocations: 78.2 kB / 0.8176 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of SimCode: time 6.11e-07/0.006656, allocations: 0 / 0.8176 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of Templates: time 0.002865/0.009522, allocations: 1.632 MB / 0.8192 GB, free: 9.758 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: 4.856727966107428]