Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.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.001035/0.001035, allocations: 82.64 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.0009989/0.0009989, allocations: 181 kB / 24.09 MB, free: 420 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 1.006/1.006, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.868/1.868, allocations: 377.9 MB / 0.624 GB, free: 8.406 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.Controls.OBC.CDL.Reals.Validation.Derivative,tolerance=1e-07,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der1.y|intWitRes.u|der2.y|der1.T",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative,tolerance=1e-07,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der1.y|intWitRes.u|der2.y|der1.T",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.664e-06/1.664e-06, allocations: 0 / 0.8121 GB, free: 1.371 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.812e-05/1.979e-05, allocations: 2.312 kB / 0.8121 GB, free: 1.367 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.001593/0.001612, allocations: 1.031 MB / 0.8131 GB, free: 360 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001065/0.002677, allocations: 1.054 MB / 0.8141 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001002/0.002778, allocations: 5.594 kB / 0.8141 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001193/0.002897, allocations: 19.73 kB / 0.8141 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.901e-05/0.002946, allocations: 27.73 kB / 0.8142 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002325/0.003178, allocations: 76.8 kB / 0.8142 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001432/0.003322, allocations: 176.1 kB / 0.8144 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.003451, allocations: 52.52 kB / 0.8145 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001226/0.003574, allocations: 112.5 kB / 0.8146 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 8.049e-05/0.003654, allocations: 61.47 kB / 0.8146 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.494e-05/0.003679, allocations: 16 kB / 0.8146 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.342e-05/0.003732, allocations: 19.98 kB / 0.8147 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.139e-05/0.003764, allocations: 35.91 kB / 0.8147 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.814e-05/0.003802, allocations: 51.83 kB / 0.8147 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001713/0.003973, allocations: 125 kB / 0.8149 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.003976, allocations: 3.938 kB / 0.8149 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.062e-06/0.003977, allocations: 0 / 0.8149 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.003981, allocations: 0 / 0.8149 GB, free: 14.52 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0005234/0.004505, allocations: 0.509 MB / 0.8154 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.004545, allocations: 12.03 kB / 0.8154 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.606e-05/0.004641, allocations: 40.72 kB / 0.8154 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001745/0.004815, allocations: 170 kB / 0.8156 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.004833, allocations: 10.97 kB / 0.8156 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.305e-05/0.004856, allocations: 20.33 kB / 0.8156 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001703/0.005026, allocations: 146.1 kB / 0.8157 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.005035, allocations: 192 / 0.8157 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.005047, allocations: 8.125 kB / 0.8158 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.005054, allocations: 4 kB / 0.8158 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.62e-05/0.00511, allocations: 48.34 kB / 0.8158 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005231/0.005633, allocations: 453.6 kB / 0.8162 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001914/0.005824, allocations: 92.92 kB / 0.8163 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.439e-05/0.005869, allocations: 51.45 kB / 0.8164 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.596e-05/0.005895, allocations: 4.594 kB / 0.8164 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001072/0.006002, allocations: 114.7 kB / 0.8165 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=19): time 1.463e-06/0.006003, allocations: 0.7812 kB / 0.8165 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of matching and sorting (n=19): time 0.0002037/0.006207, allocations: 144.8 kB / 0.8166 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.41e-05/0.006231, allocations: 55.41 kB / 0.8167 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.213e-05/0.006323, allocations: 203.5 kB / 0.8169 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.006341, allocations: 29.7 kB / 0.8169 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.62e-05/0.006407, allocations: 168.5 kB / 0.8171 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.426e-05/0.006451, allocations: 71.41 kB / 0.8171 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.623e-05/0.006497, allocations: 43.34 kB / 0.8172 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.006615, allocations: 0.4967 MB / 0.8177 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.039e-05/0.006686, allocations: 25.05 kB / 0.8177 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.932e-05/0.006735, allocations: 53.77 kB / 0.8177 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.77e-05/0.006823, allocations: 86.56 kB / 0.8178 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.006825, allocations: 0 / 0.8178 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001456/0.00697, allocations: 144.5 kB / 0.818 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.006982, allocations: 4 kB / 0.818 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.006988, allocations: 2.219 kB / 0.818 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.007002, allocations: 4 kB / 0.818 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.458e-05/0.007096, allocations: 39.92 kB / 0.818 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.306e-06/0.0071, allocations: 0 / 0.818 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5e-05/0.00715, allocations: 23.88 kB / 0.818 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.007158, allocations: 6.719 kB / 0.818 GB, free: 11.07 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,lesThr.lesHys.y,$PRE.lesThr.lesHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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 8.242e-05/0.00724, allocations: 160.6 kB / 0.8182 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.03e-05/0.007261, allocations: 27.81 kB / 0.8182 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001519/0.007413, allocations: 130.7 kB / 0.8183 GB, free: 10.74 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.007415, allocations: 4 kB / 0.8183 GB, free: 10.74 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.007417, allocations: 1.531 kB / 0.8183 GB, free: 10.74 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.00742, allocations: 0 / 0.8183 GB, free: 10.74 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006645/0.008085, allocations: 0.4967 MB / 0.8188 GB, free: 10.19 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.247e-06/0.008088, allocations: 4 kB / 0.8188 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.582e-05/0.008174, allocations: 35.92 kB / 0.8189 GB, free: 10.15 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.008178, allocations: 4.969 kB / 0.8189 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.00819, allocations: 8 kB / 0.8189 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.008191, allocations: 0 / 0.8189 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.008194, allocations: 4.656 kB / 0.8189 GB, free: 10.13 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002256/0.008419, allocations: 362.3 kB / 0.8192 GB, free: 9.738 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.331e-05/0.008433, allocations: 15.84 kB / 0.8192 GB, free: 9.723 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.71e-05/0.00845, allocations: 11.98 kB / 0.8193 GB, free: 9.711 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.917e-05/0.008509, allocations: 8 kB / 0.8193 GB, free: 9.703 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.232e-05/0.008551, allocations: 27.89 kB / 0.8193 GB, free: 9.676 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/0.008559, allocations: 4 kB / 0.8193 GB, free: 9.672 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.553e-05/0.008605, allocations: 145 kB / 0.8194 GB, free: 9.531 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.008605, allocations: 0 / 0.8194 GB, free: 9.531 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001702/0.008775, allocations: 28 kB / 0.8195 GB, free: 9.504 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (der2.x,intWitRes.y,der1.x) * Number of discrete variables: 2 ($whenCondition1,lesThr.lesHys.y) * Number of discrete states: 1 (lesThr.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.000131/0.008906, allocations: 112.9 kB / 0.8196 GB, free: 9.387 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001702/0.009076, allocations: 98.33 kB / 0.8197 GB, free: 9.289 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.009078, allocations: 0 / 0.8197 GB, free: 9.289 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.301e-05/0.009141, allocations: 64.61 kB / 0.8197 GB, free: 9.223 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002539/0.009395, allocations: 25.05 kB / 0.8197 GB, free: 9.199 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006988/0.01009, allocations: 386.3 kB / 0.8201 GB, free: 8.77 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.122e-05/0.01016, allocations: 76.02 kB / 0.8202 GB, free: 8.672 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.135e-05/0.01021, allocations: 15.73 kB / 0.8202 GB, free: 8.66 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001053/0.01031, allocations: 102.2 kB / 0.8203 GB, free: 8.559 MB / 0.7761 GB Notification: Performance of SimCode: time 7.21e-07/0.01031, allocations: 1.875 kB / 0.8203 GB, free: 8.559 MB / 0.7761 GB Notification: Performance of Templates: time 0.003972/0.01428, allocations: 1.912 MB / 0.8222 GB, free: 6.691 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Derivative.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.104492012411356]