Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.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.001765/0.001765, allocations: 115.6 kB / 17.08 MB, free: 5.984 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.001955/0.001955, allocations: 194.2 kB / 20.03 MB, free: 3.055 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.469/1.469, allocations: 222.9 MB / 245.7 MB, free: 4.234 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.021/3.021, allocations: 489.3 MB / 0.7687 GB, free: 3.781 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.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extIndSig.u.1.|extIndSig.u.2.|extIndSig.u.3.|extIndSig.u.4.|extIndSig.index|extIndSig.y|extIndSig1.index|extIndSig1.y|extIndSig2.index|extIndSig2.y|extIndSig3.index|extIndSig3.y|extIndSig4.index|extIndSig4.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extIndSig.u.1.|extIndSig.u.2.|extIndSig.u.3.|extIndSig.u.4.|extIndSig.index|extIndSig.y|extIndSig1.index|extIndSig1.y|extIndSig2.index|extIndSig2.y|extIndSig3.index|extIndSig3.y|extIndSig4.index|extIndSig4.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00201/0.00201, allocations: 63.89 kB / 1.103 GB, free: 0.8008 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.14/1.142, allocations: 163.8 MB / 1.263 GB, free: 7.992 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002738/1.144, allocations: 1.344 MB / 1.264 GB, free: 7.105 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002225/1.147, allocations: 1.553 MB / 1.265 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001626/1.147, allocations: 11.53 kB / 1.265 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001511/1.147, allocations: 28.92 kB / 1.265 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001377/1.147, allocations: 66.61 kB / 1.266 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001316/1.148, allocations: 0.5004 MB / 1.266 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0008351/1.149, allocations: 0.6826 MB / 1.267 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003323/1.15, allocations: 169.1 kB / 1.267 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003796/1.15, allocations: 252.4 kB / 1.267 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004056/1.15, allocations: 243.6 kB / 1.267 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001345/1.151, allocations: 64.5 kB / 1.267 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001955/1.151, allocations: 78.89 kB / 1.267 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000103/1.151, allocations: 85.14 kB / 1.268 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002899/1.151, allocations: 244.5 kB / 1.268 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009726/1.152, allocations: 0.6853 MB / 1.268 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/1.152, allocations: 0 / 1.268 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.784e-06/1.152, allocations: 1.625 kB / 1.268 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.608e-06/1.152, allocations: 0 / 1.268 GB, free: 4.543 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001288/1.154, allocations: 0.9504 MB / 1.269 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/1.154, allocations: 9.062 kB / 1.269 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001386/1.154, allocations: 53.16 kB / 1.269 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001246/1.155, allocations: 469.3 kB / 1.27 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.463e-05/1.155, allocations: 28.67 kB / 1.27 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.694e-05/1.155, allocations: 40.36 kB / 1.27 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006927/1.156, allocations: 328 kB / 1.27 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/1.156, allocations: 3.938 kB / 1.27 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.026e-05/1.156, allocations: 12.06 kB / 1.27 GB, free: 3.242 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/1.156, allocations: 5.406 kB / 1.27 GB, free: 3.242 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007122/1.157, allocations: 252.2 kB / 1.271 GB, free: 3.188 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001563/1.158, allocations: 0.9112 MB / 1.271 GB, free: 2.672 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007418/1.159, allocations: 375.9 kB / 1.272 GB, free: 2.551 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005429/1.16, allocations: 285.6 kB / 1.272 GB, free: 2.469 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/1.16, allocations: 7.312 kB / 1.272 GB, free: 2.465 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006253/1.16, allocations: 318.9 kB / 1.272 GB, free: 2.352 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=44): time 2.615e-06/1.16, allocations: 7.938 kB / 1.272 GB, free: 2.344 MB / 0.9981 GB Notification: Performance of matching and sorting (n=44): time 0.001728/1.162, allocations: 0.8317 MB / 1.273 GB, free: 1.984 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.724e-05/1.162, allocations: 200.4 kB / 1.273 GB, free: 1.758 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002923/1.162, allocations: 284.6 kB / 1.274 GB, free: 1.594 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.632e-05/1.162, allocations: 43.73 kB / 1.274 GB, free: 1.555 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/1.162, allocations: 173 kB / 1.274 GB, free: 1.41 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.431e-05/1.163, allocations: 137 kB / 1.274 GB, free: 1.305 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002415/1.163, allocations: 132.5 kB / 1.274 GB, free: 1.254 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.99e-05/1.163, allocations: 347.7 kB / 1.274 GB, free: 0.9258 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006226/1.164, allocations: 281 kB / 1.275 GB, free: 0.8477 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006582/1.164, allocations: 354.2 kB / 1.275 GB, free: 0.6836 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001159/1.165, allocations: 0.9144 MB / 1.276 GB, free: 15.99 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-05/1.165, allocations: 3.938 kB / 1.276 GB, free: 15.99 MB / 1.014 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001914/1.167, allocations: 1.001 MB / 1.277 GB, free: 15.45 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002693/1.168, allocations: 261.7 kB / 1.277 GB, free: 15.16 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/1.168, allocations: 2.609 kB / 1.277 GB, free: 15.16 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.603e-05/1.168, allocations: 8.906 kB / 1.277 GB, free: 15.15 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003025/1.168, allocations: 63.48 kB / 1.277 GB, free: 15.15 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.384e-05/1.168, allocations: 5.047 kB / 1.277 GB, free: 15.15 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008385/1.169, allocations: 150 kB / 1.277 GB, free: 15.11 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001343/1.169, allocations: 70.44 kB / 1.277 GB, free: 15.11 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul1.y,intPul.booPul.y,$PRE.intPul.booPul.y,intPul.y,pul1.booPul.y,$PRE.pul1.booPul.y,pul.booPul.y,$PRE.pul.booPul.y,conInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 9 * 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 0.0003499/1.169, allocations: 315.7 kB / 1.278 GB, free: 14.8 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.28e-05/1.169, allocations: 40.75 kB / 1.278 GB, free: 14.78 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001309/1.17, allocations: 42.11 kB / 1.278 GB, free: 14.74 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/1.17, allocations: 3.875 kB / 1.278 GB, free: 14.74 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.338e-05/1.17, allocations: 0 / 1.278 GB, free: 14.74 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/1.17, allocations: 5.906 kB / 1.278 GB, free: 14.74 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001992/1.172, allocations: 1.193 MB / 1.279 GB, free: 14.04 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/1.172, allocations: 0 / 1.279 GB, free: 14.04 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002382/1.172, allocations: 62 kB / 1.279 GB, free: 14.04 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/1.172, allocations: 0 / 1.279 GB, free: 14.04 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.245e-05/1.172, allocations: 12.5 kB / 1.279 GB, free: 14.03 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/1.172, allocations: 1.562 kB / 1.279 GB, free: 14.03 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.657e-05/1.172, allocations: 4.594 kB / 1.279 GB, free: 14.03 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00131/1.173, allocations: 0.7671 MB / 1.28 GB, free: 13.59 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001147/1.173, allocations: 124.5 kB / 1.28 GB, free: 13.46 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.189e-05/1.173, allocations: 9.688 kB / 1.28 GB, free: 13.46 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002284/1.174, allocations: 30.98 kB / 1.28 GB, free: 13.45 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/1.174, allocations: 38.25 kB / 1.28 GB, free: 13.44 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.679e-05/1.174, allocations: 47.91 kB / 1.28 GB, free: 13.43 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002547/1.174, allocations: 196.8 kB / 1.28 GB, free: 13.32 MB / 1.014 GB Notification: Performance of sort global known variables: time 4.11e-07/1.174, allocations: 3.938 kB / 1.28 GB, free: 13.32 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000566/1.175, allocations: 104.6 kB / 1.28 GB, free: 13.3 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pul.booPul.y,pul1.booPul.y,intPul.y,intPul.booPul.y,intPul1.y,intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 4 * 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.0002341/1.175, allocations: 127.3 kB / 1.28 GB, free: 13.2 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001777/1.177, allocations: 1.109 MB / 1.282 GB, free: 12.45 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/1.177, allocations: 4.125 kB / 1.282 GB, free: 12.45 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000681/1.177, allocations: 0.5244 MB / 1.282 GB, free: 12.05 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005797/1.178, allocations: 83.39 kB / 1.282 GB, free: 12.03 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001569/1.18, allocations: 0.8319 MB / 1.283 GB, free: 11.61 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005397/1.18, allocations: 0.7995 MB / 1.284 GB, free: 10.9 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.718e-05/1.18, allocations: 34.75 kB / 1.284 GB, free: 10.89 MB / 1.014 GB Notification: Performance of SimCode: time 4.81e-07/1.18, allocations: 0 / 1.284 GB, free: 10.89 MB / 1.014 GB Notification: Performance of Templates: time 0.0126/1.193, allocations: 5.647 MB / 1.289 GB, free: 10.3 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.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: 12.335050445981324]