Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001443/0.001442, allocations: 113.3 kB / 17.08 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001922/0.001922, allocations: 193.2 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.564/1.564, allocations: 222.9 MB / 245.7 MB, free: 4.223 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.068/3.068, allocations: 489.3 MB / 0.7687 GB, free: 3.75 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002081/0.002081, allocations: 67.89 kB / 1.103 GB, free: 0.7734 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9489/0.951, allocations: 163.8 MB / 1.263 GB, free: 8.004 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002443/0.9534, allocations: 1.06 MB / 1.264 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001363/0.9548, allocations: 0.9919 MB / 1.265 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001198/0.955, allocations: 3.219 kB / 1.265 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001401/0.9551, allocations: 19.55 kB / 1.265 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.984e-05/0.9552, allocations: 18.81 kB / 1.265 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000272/0.9555, allocations: 83.39 kB / 1.265 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002293/0.9557, allocations: 169.2 kB / 1.265 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000187/0.9559, allocations: 82.19 kB / 1.265 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001094/0.956, allocations: 69.2 kB / 1.265 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001171/0.9561, allocations: 75.52 kB / 1.265 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.12e-05/0.9562, allocations: 20.19 kB / 1.265 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.289e-05/0.9562, allocations: 19.81 kB / 1.265 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 6.034e-05/0.9563, allocations: 45.53 kB / 1.265 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 8.421e-05/0.9564, allocations: 75.08 kB / 1.265 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002853/0.9567, allocations: 182.3 kB / 1.265 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.9567, allocations: 0.5625 kB / 1.265 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.413e-06/0.9567, allocations: 0 / 1.265 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.592e-06/0.9567, allocations: 0.7812 kB / 1.265 GB, free: 6.141 MB / 0.9981 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.0008189/0.9575, allocations: 490.4 kB / 1.266 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/0.9576, allocations: 8.969 kB / 1.266 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.293e-05/0.9577, allocations: 19.55 kB / 1.266 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003027/0.958, allocations: 222.1 kB / 1.266 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.444e-05/0.958, allocations: 19.42 kB / 1.266 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.613e-05/0.9581, allocations: 14.56 kB / 1.266 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003302/0.9584, allocations: 157 kB / 1.266 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.9584, allocations: 0.6562 kB / 1.266 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.799e-05/0.9584, allocations: 5.344 kB / 1.266 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.9584, allocations: 4.406 kB / 1.266 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003178/0.9588, allocations: 108.7 kB / 1.266 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001109/0.9599, allocations: 0.5431 MB / 1.267 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004157/0.9603, allocations: 148.9 kB / 1.267 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002286/0.9606, allocations: 93.86 kB / 1.267 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.383e-05/0.9606, allocations: 3.344 kB / 1.267 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002608/0.9609, allocations: 115.8 kB / 1.267 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=19): time 1.693e-06/0.9609, allocations: 0.7812 kB / 1.267 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of matching and sorting (n=19): time 0.0006042/0.9615, allocations: 234.9 kB / 1.268 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.667e-05/0.9615, allocations: 54.28 kB / 1.268 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/0.9617, allocations: 159.4 kB / 1.268 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.9617, allocations: 31.45 kB / 1.268 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.871e-05/0.9617, allocations: 120.3 kB / 1.268 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.962e-05/0.9618, allocations: 65.22 kB / 1.268 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.718e-05/0.9619, allocations: 38.34 kB / 1.268 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.098e-05/0.962, allocations: 328.3 kB / 1.268 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002152/0.9622, allocations: 69.59 kB / 1.268 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002187/0.9624, allocations: 89.45 kB / 1.268 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003703/0.9628, allocations: 153.9 kB / 1.269 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.9628, allocations: 4 kB / 1.269 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000511/0.9633, allocations: 210.2 kB / 1.269 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.9633, allocations: 10.41 kB / 1.269 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.9633, allocations: 1.625 kB / 1.269 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.9634, allocations: 0.8438 kB / 1.269 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002151/0.9636, allocations: 44.91 kB / 1.269 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.9636, allocations: 5.672 kB / 1.269 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001441/0.9637, allocations: 26.97 kB / 1.269 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.902e-05/0.9638, allocations: 9.25 kB / 1.269 GB, free: 3.676 MB / 0.9981 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 9.168e-05/0.9639, allocations: 129.5 kB / 1.269 GB, free: 3.547 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.661e-05/0.9639, allocations: 15.67 kB / 1.269 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004596/0.9644, allocations: 192.4 kB / 1.269 GB, free: 3.449 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.9644, allocations: 6.828 kB / 1.269 GB, free: 3.445 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.9644, allocations: 0.5625 kB / 1.269 GB, free: 3.445 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.9644, allocations: 0.6562 kB / 1.269 GB, free: 3.445 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000846/0.9653, allocations: 0.5813 MB / 1.27 GB, free: 2.992 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.9653, allocations: 1.906 kB / 1.27 GB, free: 2.992 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001883/0.9655, allocations: 44.33 kB / 1.27 GB, free: 2.98 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.135e-06/0.9655, allocations: 7.516 kB / 1.27 GB, free: 2.977 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.922e-05/0.9655, allocations: 3.484 kB / 1.27 GB, free: 2.977 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.9655, allocations: 2.781 kB / 1.27 GB, free: 2.977 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.9655, allocations: 2.609 kB / 1.27 GB, free: 2.977 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005836/0.9661, allocations: 389 kB / 1.27 GB, free: 2.707 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.754e-05/0.9662, allocations: 96.16 kB / 1.27 GB, free: 2.602 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.036e-05/0.9662, allocations: 9.094 kB / 1.27 GB, free: 2.598 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000163/0.9664, allocations: 12.55 kB / 1.27 GB, free: 2.598 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.603e-05/0.9664, allocations: 25.19 kB / 1.27 GB, free: 2.59 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.825e-05/0.9665, allocations: 10.66 kB / 1.27 GB, free: 2.586 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001004/0.9666, allocations: 118.1 kB / 1.271 GB, free: 2.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9666, allocations: 0 / 1.271 GB, free: 2.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002988/0.9669, allocations: 36.73 kB / 1.271 GB, free: 2.488 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (der1.x,intWitRes.y,der2.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.0001748/0.9671, allocations: 106.3 kB / 1.271 GB, free: 2.398 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004974/0.9676, allocations: 167.5 kB / 1.271 GB, free: 2.348 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.9676, allocations: 0.7188 kB / 1.271 GB, free: 2.348 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002266/0.9678, allocations: 98.56 kB / 1.271 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003741/0.9682, allocations: 25.59 kB / 1.271 GB, free: 2.301 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006651/0.9689, allocations: 407 kB / 1.271 GB, free: 1.977 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001918/0.9691, allocations: 0.7213 MB / 1.272 GB, free: 1.277 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.963e-05/0.9692, allocations: 24.78 kB / 1.272 GB, free: 1.266 MB / 0.9981 GB Notification: Performance of SimCode: time 2.41e-07/0.9692, allocations: 4 kB / 1.272 GB, free: 1.262 MB / 0.9981 GB Notification: Performance of Templates: time 0.0046/0.9738, allocations: 1.96 MB / 1.274 GB, free: 1.09 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Derivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.747412105090916]