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.001013/0.001013, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.0009617/0.0009617, allocations: 173 kB / 24.28 MB, free: 280 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.9333/0.9333, allocations: 177.1 MB / 204.6 MB, free: 5.621 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.979/1.979, allocations: 377.8 MB / 0.6239 GB, free: 8.566 MB / 0.5886 GB " [Timeout remaining time 177] 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.583e-06/1.583e-06, allocations: 0 / 0.8116 GB, free: 1.996 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.716e-05/1.875e-05, allocations: 3.375 kB / 0.8116 GB, free: 1.992 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.001512/0.00153, allocations: 1.043 MB / 0.8126 GB, free: 0.9688 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001055/0.002586, allocations: 1.058 MB / 0.8137 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.991e-05/0.002686, allocations: 1.031 kB / 0.8137 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001283/0.002814, allocations: 23.73 kB / 0.8137 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.773e-05/0.002862, allocations: 16.58 kB / 0.8137 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002834/0.003145, allocations: 81.45 kB / 0.8138 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001611/0.003306, allocations: 180.1 kB / 0.8139 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001448/0.003451, allocations: 55.17 kB / 0.814 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001319/0.003583, allocations: 107.7 kB / 0.8141 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 8.226e-05/0.003665, allocations: 61.31 kB / 0.8142 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.655e-05/0.003692, allocations: 16 kB / 0.8142 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.201e-05/0.003744, allocations: 20 kB / 0.8142 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.643e-05/0.00378, allocations: 43.83 kB / 0.8142 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.585e-05/0.003826, allocations: 52.42 kB / 0.8143 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001608/0.003987, allocations: 131.5 kB / 0.8144 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.003989, allocations: 0.9375 kB / 0.8144 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.82e-07/0.00399, allocations: 0 / 0.8144 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.427e-06/0.003993, allocations: 1.594 kB / 0.8144 GB, free: 15.12 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.0005368/0.00453, allocations: 0.5035 MB / 0.8149 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.004565, allocations: 10.62 kB / 0.8149 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001177/0.004683, allocations: 40.73 kB / 0.815 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001846/0.004868, allocations: 160.9 kB / 0.8151 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.004887, allocations: 12.38 kB / 0.8151 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.807e-05/0.004915, allocations: 20.33 kB / 0.8151 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002066/0.005121, allocations: 158.1 kB / 0.8153 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.005129, allocations: 0.7188 kB / 0.8153 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.005143, allocations: 8.844 kB / 0.8153 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.005151, allocations: 4 kB / 0.8153 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.143e-05/0.005242, allocations: 68.81 kB / 0.8154 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006069/0.005849, allocations: 472.9 kB / 0.8158 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002401/0.006089, allocations: 95.73 kB / 0.8159 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.008e-05/0.006159, allocations: 64.08 kB / 0.816 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.398e-05/0.006183, allocations: 4.781 kB / 0.816 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001304/0.006314, allocations: 122.7 kB / 0.8161 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=19): time 1.383e-06/0.006315, allocations: 1.156 kB / 0.8161 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of matching and sorting (n=19): time 0.0002431/0.006558, allocations: 159.5 kB / 0.8162 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.482e-05/0.006583, allocations: 51.41 kB / 0.8163 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.548e-05/0.006678, allocations: 204.9 kB / 0.8165 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.07e-05/0.006699, allocations: 33.7 kB / 0.8165 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.75e-05/0.006767, allocations: 167.2 kB / 0.8167 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.258e-05/0.006809, allocations: 73.16 kB / 0.8167 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.842e-05/0.006858, allocations: 47.36 kB / 0.8168 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.006978, allocations: 0.4923 MB / 0.8173 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.495e-05/0.007053, allocations: 31.98 kB / 0.8173 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.94e-05/0.007122, allocations: 58.31 kB / 0.8174 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001115/0.007234, allocations: 95.05 kB / 0.8175 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.007236, allocations: 0 / 0.8175 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001779/0.007414, allocations: 158.4 kB / 0.8176 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/0.007425, allocations: 4 kB / 0.8176 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.007429, allocations: 0 / 0.8176 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.007441, allocations: 4.844 kB / 0.8176 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.736e-05/0.007539, allocations: 35.92 kB / 0.8176 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.007544, allocations: 2.219 kB / 0.8176 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.979e-05/0.007593, allocations: 23.88 kB / 0.8177 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.007603, allocations: 8 kB / 0.8177 GB, free: 11.55 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 7.928e-05/0.007683, allocations: 164.5 kB / 0.8178 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.806e-05/0.007701, allocations: 22.67 kB / 0.8179 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001826/0.007883, allocations: 145.1 kB / 0.818 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.007886, allocations: 3.938 kB / 0.818 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.007889, allocations: 0 / 0.818 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.007894, allocations: 4 kB / 0.818 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004506/0.008345, allocations: 0.5238 MB / 0.8185 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.008347, allocations: 0.5 kB / 0.8185 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.239e-05/0.008439, allocations: 39.92 kB / 0.8186 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.008442, allocations: 0.5625 kB / 0.8186 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.008455, allocations: 9.375 kB / 0.8186 GB, free: 10.58 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.008458, allocations: 4 kB / 0.8186 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.008461, allocations: 7.922 kB / 0.8186 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002776/0.008739, allocations: 368.3 kB / 0.8189 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.547e-05/0.008754, allocations: 20.39 kB / 0.8189 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.756e-05/0.008772, allocations: 8 kB / 0.819 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.208e-05/0.008844, allocations: 19.62 kB / 0.819 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.174e-05/0.008896, allocations: 27.98 kB / 0.819 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.065e-05/0.008906, allocations: 8 kB / 0.819 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.465e-05/0.008961, allocations: 140.1 kB / 0.8191 GB, free: 9.949 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.008961, allocations: 0 / 0.8191 GB, free: 9.949 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001857/0.009147, allocations: 35.98 kB / 0.8192 GB, free: 9.914 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 7.755e-05/0.009224, allocations: 107.2 kB / 0.8193 GB, free: 9.801 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001734/0.009398, allocations: 109 kB / 0.8194 GB, free: 9.691 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.009399, allocations: 0 / 0.8194 GB, free: 9.691 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.588e-05/0.009465, allocations: 60.62 kB / 0.8194 GB, free: 9.629 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002282/0.009693, allocations: 29.05 kB / 0.8195 GB, free: 9.602 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006284/0.01032, allocations: 395.5 kB / 0.8198 GB, free: 9.164 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.159e-05/0.01037, allocations: 80 kB / 0.8199 GB, free: 9.062 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.506e-05/0.01042, allocations: 14.95 kB / 0.8199 GB, free: 9.051 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.512e-05/0.01046, allocations: 17.41 kB / 0.8199 GB, free: 9.035 MB / 0.7761 GB Notification: Performance of SimCode: time 5.61e-07/0.01046, allocations: 0 / 0.8199 GB, free: 9.035 MB / 0.7761 GB Notification: Performance of Templates: time 0.003265/0.01373, allocations: 1.764 MB / 0.8217 GB, free: 7.32 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.286272748140618]