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.0009744/0.0009744, allocations: 71.75 kB / 20.97 MB, free: 3.574 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.0009477/0.0009477, allocations: 169.3 kB / 24.28 MB, free: 272 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.9678/0.9678, allocations: 177.1 MB / 204.6 MB, free: 5.637 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.822/1.822, allocations: 377.8 MB / 0.6239 GB, free: 8.539 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.082e-06/1.082e-06, allocations: 0 / 0.8116 GB, free: 1.98 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.41e-05/1.518e-05, allocations: 12.86 kB / 0.8116 GB, free: 1.969 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.0009691/0.0009843, allocations: 0.6333 MB / 0.8122 GB, free: 1.355 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0004923/0.001477, allocations: 322.8 kB / 0.8125 GB, free: 1.039 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.613e-05/0.001503, allocations: 5.625 kB / 0.8125 GB, free: 1.035 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 1.715e-05/0.00152, allocations: 0 / 0.8125 GB, free: 1.035 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 3.467e-05/0.001555, allocations: 3.938 kB / 0.8125 GB, free: 1.031 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003766/0.001931, allocations: 117.1 kB / 0.8126 GB, free: 0.918 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 6.208e-05/0.001993, allocations: 23.97 kB / 0.8127 GB, free: 0.8945 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.791e-05/0.002031, allocations: 5.531 kB / 0.8127 GB, free: 0.8906 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 5.754e-05/0.002089, allocations: 15.97 kB / 0.8127 GB, free: 0.875 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 5.243e-05/0.002141, allocations: 8 kB / 0.8127 GB, free: 0.8672 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.512e-05/0.002156, allocations: 0 / 0.8127 GB, free: 0.8672 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002471/0.002403, allocations: 267.6 kB / 0.813 GB, free: 0.6055 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.524e-05/0.002419, allocations: 8.969 kB / 0.813 GB, free: 0.5977 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.635e-05/0.002435, allocations: 4 kB / 0.813 GB, free: 0.5938 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001701/0.002605, allocations: 132.3 kB / 0.8131 GB, free: 476 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.002607, allocations: 3.938 kB / 0.8131 GB, free: 472 kB / 0.7605 GB Notification: Performance of FrontEnd: time 5.11e-07/0.002608, allocations: 0.9375 kB / 0.8131 GB, free: 472 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.937e-06/0.002612, allocations: 0 / 0.8131 GB, free: 472 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.0003417/0.002953, allocations: 393.5 kB / 0.8135 GB, free: 40 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.479e-05/0.002988, allocations: 8.031 kB / 0.8135 GB, free: 32 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.142e-05/0.003069, allocations: 4.938 kB / 0.8135 GB, free: 28 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001002/0.00317, allocations: 114 kB / 0.8136 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.00318, allocations: 4.312 kB / 0.8136 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.925e-05/0.0032, allocations: 4.375 kB / 0.8136 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001112/0.003311, allocations: 101.6 kB / 0.8137 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.003324, allocations: 13.86 kB / 0.8137 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.003334, allocations: 4.375 kB / 0.8137 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.003341, allocations: 384 / 0.8137 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.514e-05/0.003376, allocations: 23.86 kB / 0.8137 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001346/0.003511, allocations: 116.6 kB / 0.8138 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001053/0.003616, allocations: 60.23 kB / 0.8139 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.093e-05/0.003647, allocations: 27.67 kB / 0.8139 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00031/0.003957, allocations: 84.8 kB / 0.814 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/0.003982, allocations: 33.39 kB / 0.814 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.041e-06/0.003983, allocations: 0 / 0.814 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11): time 0.0008558/0.004838, allocations: 461.2 kB / 0.8145 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.815e-05/0.004867, allocations: 51.94 kB / 0.8145 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.352e-05/0.00494, allocations: 161.9 kB / 0.8147 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.132e-05/0.004951, allocations: 27.36 kB / 0.8147 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.399e-05/0.004985, allocations: 134.9 kB / 0.8148 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.549e-05/0.005021, allocations: 43.62 kB / 0.8149 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.408e-05/0.005055, allocations: 31.38 kB / 0.8149 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.005159, allocations: 0.4895 MB / 0.8154 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.301e-05/0.005182, allocations: 12 kB / 0.8154 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.293e-05/0.005205, allocations: 15.98 kB / 0.8154 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.153e-05/0.005266, allocations: 50.86 kB / 0.8155 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.005267, allocations: 0 / 0.8155 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001101/0.005377, allocations: 98.11 kB / 0.8156 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.005388, allocations: 4 kB / 0.8156 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.738e-06/0.005393, allocations: 0.8438 kB / 0.8156 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.00541, allocations: 7.938 kB / 0.8156 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.291e-05/0.005483, allocations: 22.05 kB / 0.8156 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.005489, allocations: 0 / 0.8156 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.315e-05/0.005502, allocations: 4 kB / 0.8156 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.005507, allocations: 4 kB / 0.8156 GB, free: 13.64 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.397e-05/0.005571, allocations: 164.5 kB / 0.8158 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.943e-05/0.005591, allocations: 8.516 kB / 0.8158 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001206/0.005711, allocations: 100.6 kB / 0.8159 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.005716, allocations: 7.938 kB / 0.8159 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.005719, allocations: 0 / 0.8159 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.005722, allocations: 0 / 0.8159 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000279/0.006001, allocations: 345.3 kB / 0.8162 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.006003, allocations: 0 / 0.8162 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.706e-05/0.00607, allocations: 20 kB / 0.8162 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.006073, allocations: 5.688 kB / 0.8162 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.006081, allocations: 4.172 kB / 0.8162 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.006082, allocations: 0 / 0.8162 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.006083, allocations: 4 kB / 0.8162 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001747/0.006257, allocations: 255.8 kB / 0.8165 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.165e-05/0.006279, allocations: 16.47 kB / 0.8165 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.124e-05/0.00629, allocations: 5.062 kB / 0.8165 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.77e-05/0.006328, allocations: 0 / 0.8165 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.45e-05/0.006352, allocations: 15.92 kB / 0.8165 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.705e-06/0.00636, allocations: 8.781 kB / 0.8165 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.07e-05/0.006391, allocations: 123.2 kB / 0.8166 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.006391, allocations: 1.938 kB / 0.8166 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001787/0.00657, allocations: 43.94 kB / 0.8167 GB, free: 12.46 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.0001619/0.006732, allocations: 143.1 kB / 0.8168 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003657/0.007097, allocations: 56.03 kB / 0.8169 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.0071, allocations: 5.344 kB / 0.8169 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.231e-05/0.007132, allocations: 39.55 kB / 0.8169 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001526/0.007285, allocations: 8.094 kB / 0.8169 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002814/0.007566, allocations: 178.7 kB / 0.8171 GB, free: 12 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.511e-05/0.007601, allocations: 64.52 kB / 0.8172 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.784e-05/0.007639, allocations: 20.2 kB / 0.8172 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.017e-05/0.007659, allocations: 12.5 kB / 0.8172 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of SimCode: time 4.91e-07/0.00766, allocations: 0 / 0.8172 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of Templates: time 0.003035/0.01069, allocations: 1.427 MB / 0.8186 GB, free: 10.5 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.026752525009215]