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.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.001634/0.001634, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 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.002295/0.002295, allocations: 210.9 kB / 23 MB, free: 4.566 MB / 14.72 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.493/1.493, allocations: 230.6 MB / 256.8 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.258/3.258, allocations: 0.505 GB / 0.8108 GB, free: 22.04 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003273/0.003273, allocations: 62.62 kB / 1.178 GB, free: 17.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4012/0.4044, allocations: 180.2 MB / 1.354 GB, free: 8.082 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.00288/0.4073, allocations: 1.355 MB / 1.355 GB, free: 6.727 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002465/0.4098, allocations: 1.592 MB / 1.357 GB, free: 5.121 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001884/0.41, allocations: 0 / 1.357 GB, free: 5.121 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001679/0.4101, allocations: 35.55 kB / 1.357 GB, free: 5.086 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001908/0.4103, allocations: 79.36 kB / 1.357 GB, free: 5.008 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001252/0.4116, allocations: 0.4978 MB / 1.358 GB, free: 4.52 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0008666/0.4125, allocations: 0.6482 MB / 1.358 GB, free: 3.871 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002985/0.4128, allocations: 117.3 kB / 1.358 GB, free: 3.75 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003818/0.4131, allocations: 259.4 kB / 1.359 GB, free: 3.496 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004043/0.4135, allocations: 251 kB / 1.359 GB, free: 3.25 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001289/0.4137, allocations: 64 kB / 1.359 GB, free: 3.188 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001649/0.4138, allocations: 79.98 kB / 1.359 GB, free: 3.109 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001174/0.4139, allocations: 79.7 kB / 1.359 GB, free: 3.031 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002936/0.4142, allocations: 251 kB / 1.359 GB, free: 2.785 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000777/0.415, allocations: 0.6928 MB / 1.36 GB, free: 2.09 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.415, allocations: 0 / 1.36 GB, free: 2.09 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.433e-06/0.415, allocations: 0 / 1.36 GB, free: 2.09 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.342e-05/0.415, allocations: 0 / 1.36 GB, free: 2.09 MB / 1.045 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.001335/0.4164, allocations: 0.875 MB / 1.361 GB, free: 1.125 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.4164, allocations: 8.031 kB / 1.361 GB, free: 1.117 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001263/0.4165, allocations: 52.66 kB / 1.361 GB, free: 1.066 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001288/0.4178, allocations: 405.5 kB / 1.361 GB, free: 0.6445 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.276e-05/0.4179, allocations: 28.88 kB / 1.361 GB, free: 0.6172 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.88e-05/0.4179, allocations: 44.38 kB / 1.361 GB, free: 0.5742 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006528/0.4186, allocations: 320.5 kB / 1.362 GB, free: 264 kB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.4186, allocations: 3.938 kB / 1.362 GB, free: 260 kB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.913e-05/0.4186, allocations: 15.98 kB / 1.362 GB, free: 244 kB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.4187, allocations: 4 kB / 1.362 GB, free: 240 kB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006641/0.4193, allocations: 249.9 kB / 1.362 GB, free: 15.99 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001665/0.421, allocations: 0.8797 MB / 1.363 GB, free: 15.07 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006372/0.4216, allocations: 350.5 kB / 1.363 GB, free: 14.71 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005065/0.4221, allocations: 265.3 kB / 1.363 GB, free: 14.45 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.26e-05/0.4221, allocations: 4 kB / 1.363 GB, free: 14.45 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005751/0.4227, allocations: 323.7 kB / 1.364 GB, free: 14.12 MB / 1.061 GB Notification: Performance of pre-optimization done (n=44): time 2.455e-06/0.4227, allocations: 4 kB / 1.364 GB, free: 14.12 MB / 1.061 GB Notification: Performance of matching and sorting (n=44): time 0.001573/0.4243, allocations: 0.8334 MB / 1.364 GB, free: 13.25 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001227/0.4244, allocations: 195.9 kB / 1.365 GB, free: 13.01 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003134/0.4247, allocations: 284.5 kB / 1.365 GB, free: 12.73 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.51e-05/0.4248, allocations: 41.7 kB / 1.365 GB, free: 12.68 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001606/0.425, allocations: 172.9 kB / 1.365 GB, free: 12.51 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001149/0.4251, allocations: 138.9 kB / 1.365 GB, free: 12.38 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002262/0.4253, allocations: 138.1 kB / 1.365 GB, free: 12.23 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001687/0.4255, allocations: 346.8 kB / 1.366 GB, free: 11.89 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006132/0.4261, allocations: 276.8 kB / 1.366 GB, free: 11.62 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006581/0.4267, allocations: 357.5 kB / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00123/0.428, allocations: 0.9051 MB / 1.367 GB, free: 10.21 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.428, allocations: 11.88 kB / 1.367 GB, free: 10.2 MB / 1.061 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001674/0.4297, allocations: 1.006 MB / 1.368 GB, free: 9.133 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001757/0.4298, allocations: 260.9 kB / 1.368 GB, free: 8.824 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.4298, allocations: 4 kB / 1.368 GB, free: 8.82 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.4299, allocations: 4 kB / 1.368 GB, free: 8.816 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000278/0.4301, allocations: 67.89 kB / 1.369 GB, free: 8.75 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/0.4301, allocations: 4 kB / 1.369 GB, free: 8.746 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006867/0.4308, allocations: 139.7 kB / 1.369 GB, free: 8.609 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001226/0.431, allocations: 67.86 kB / 1.369 GB, free: 8.543 MB / 1.061 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.0003175/0.4313, allocations: 326.1 kB / 1.369 GB, free: 8.184 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.752e-05/0.4313, allocations: 39.72 kB / 1.369 GB, free: 8.145 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.941e-05/0.4314, allocations: 43.48 kB / 1.369 GB, free: 8.094 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.221e-06/0.4314, allocations: 4 kB / 1.369 GB, free: 8.09 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.4314, allocations: 4 kB / 1.369 GB, free: 8.086 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.4314, allocations: 0 / 1.369 GB, free: 8.086 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001833/0.4333, allocations: 1.16 MB / 1.37 GB, free: 6.844 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.4333, allocations: 4 kB / 1.37 GB, free: 6.84 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002605/0.4335, allocations: 63.89 kB / 1.37 GB, free: 6.777 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.4335, allocations: 4 kB / 1.37 GB, free: 6.773 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.085e-05/0.4336, allocations: 16 kB / 1.37 GB, free: 6.758 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.4336, allocations: 3.984 kB / 1.37 GB, free: 6.754 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/0.4336, allocations: 3.938 kB / 1.37 GB, free: 6.75 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00114/0.4347, allocations: 0.7667 MB / 1.371 GB, free: 5.938 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.342e-05/0.4348, allocations: 39.62 kB / 1.371 GB, free: 5.898 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.7e-05/0.4348, allocations: 8 kB / 1.371 GB, free: 5.891 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002179/0.435, allocations: 27.97 kB / 1.371 GB, free: 5.863 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.515e-05/0.4351, allocations: 43.81 kB / 1.371 GB, free: 5.82 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.15e-05/0.4352, allocations: 47.94 kB / 1.371 GB, free: 5.773 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002005/0.4354, allocations: 203.1 kB / 1.371 GB, free: 5.578 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.4354, allocations: 0 / 1.371 GB, free: 5.578 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004305/0.4358, allocations: 107.9 kB / 1.372 GB, free: 5.473 MB / 1.061 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.0001871/0.436, allocations: 123.1 kB / 1.372 GB, free: 5.344 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001538/0.4376, allocations: 1.046 MB / 1.373 GB, free: 4.188 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.4376, allocations: 0 / 1.373 GB, free: 4.188 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0006304/0.4382, allocations: 0.4894 MB / 1.373 GB, free: 3.637 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005531/0.4387, allocations: 81.03 kB / 1.373 GB, free: 3.555 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001375/0.4401, allocations: 0.8349 MB / 1.374 GB, free: 2.688 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004294/0.4406, allocations: 0.7962 MB / 1.375 GB, free: 1.863 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.577e-05/0.4406, allocations: 39.42 kB / 1.375 GB, free: 1.824 MB / 1.061 GB Notification: Performance of SimCode: time 5.11e-07/0.4406, allocations: 0 / 1.375 GB, free: 1.824 MB / 1.061 GB Notification: Performance of Templates: time 0.009047/0.4497, allocations: 5.644 MB / 1.38 GB, free: 12.23 MB / 1.076 GB " [Timeout remaining time 300] 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/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.11054759498802]