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.001575/0.001575, allocations: 112.7 kB / 18.94 MB, free: 2.93 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.001965/0.001965, allocations: 188.8 kB / 22.22 MB, free: 5.105 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.6/1.6, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.444/3.444, allocations: 0.4893 GB / 0.7884 GB, free: 33.24 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-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.002773/0.002773, allocations: 70.2 kB / 1.145 GB, free: 30.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4592/0.462, allocations: 174.9 MB / 1.316 GB, free: 9.719 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.003895/0.4659, allocations: 1.355 MB / 1.317 GB, free: 8.363 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003558/0.4694, allocations: 1.552 MB / 1.319 GB, free: 6.797 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002472/0.4697, allocations: 11.94 kB / 1.319 GB, free: 6.785 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0002554/0.4699, allocations: 31.55 kB / 1.319 GB, free: 6.754 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001697/0.4701, allocations: 79.42 kB / 1.319 GB, free: 6.676 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001512/0.4716, allocations: 0.4928 MB / 1.319 GB, free: 6.195 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0008813/0.4725, allocations: 0.656 MB / 1.32 GB, free: 5.535 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003675/0.4729, allocations: 121.3 kB / 1.32 GB, free: 5.418 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003482/0.4732, allocations: 263.3 kB / 1.32 GB, free: 5.16 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003569/0.4736, allocations: 239.2 kB / 1.321 GB, free: 4.926 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001129/0.4737, allocations: 67.94 kB / 1.321 GB, free: 4.859 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001913/0.4739, allocations: 79.98 kB / 1.321 GB, free: 4.781 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001269/0.474, allocations: 79.75 kB / 1.321 GB, free: 4.703 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002869/0.4743, allocations: 250.9 kB / 1.321 GB, free: 4.457 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0007961/0.4751, allocations: 0.6773 MB / 1.322 GB, free: 3.777 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.4751, allocations: 0 / 1.322 GB, free: 3.777 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.272e-06/0.4751, allocations: 0 / 1.322 GB, free: 3.777 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.395e-06/0.4751, allocations: 8 kB / 1.322 GB, free: 3.77 MB / 1.014 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.001499/0.4766, allocations: 0.8726 MB / 1.323 GB, free: 2.809 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/0.4767, allocations: 12.03 kB / 1.323 GB, free: 2.797 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001526/0.4768, allocations: 52.66 kB / 1.323 GB, free: 2.746 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001405/0.4782, allocations: 413.4 kB / 1.323 GB, free: 2.32 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.454e-05/0.4783, allocations: 28.86 kB / 1.323 GB, free: 2.293 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.499e-05/0.4783, allocations: 40.38 kB / 1.323 GB, free: 2.254 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007373/0.4791, allocations: 324.5 kB / 1.324 GB, free: 1.93 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.4791, allocations: 3.938 kB / 1.324 GB, free: 1.926 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.965e-05/0.4791, allocations: 8 kB / 1.324 GB, free: 1.918 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.237e-05/0.4791, allocations: 8 kB / 1.324 GB, free: 1.91 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006925/0.4798, allocations: 257.8 kB / 1.324 GB, free: 1.656 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001716/0.4816, allocations: 0.8758 MB / 1.325 GB, free: 0.7383 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006894/0.4822, allocations: 357.3 kB / 1.325 GB, free: 392 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005164/0.4828, allocations: 258.1 kB / 1.325 GB, free: 132 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.4828, allocations: 4 kB / 1.325 GB, free: 128 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006507/0.4834, allocations: 327.7 kB / 1.326 GB, free: 15.79 MB / 1.029 GB Notification: Performance of pre-optimization done (n=44): time 2.605e-06/0.4834, allocations: 0 / 1.326 GB, free: 15.79 MB / 1.029 GB Notification: Performance of matching and sorting (n=44): time 0.001706/0.4851, allocations: 0.8334 MB / 1.326 GB, free: 14.92 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001397/0.4853, allocations: 195.9 kB / 1.327 GB, free: 14.69 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003468/0.4856, allocations: 284.5 kB / 1.327 GB, free: 14.39 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.5e-05/0.4857, allocations: 45.7 kB / 1.327 GB, free: 14.34 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001755/0.4859, allocations: 168.8 kB / 1.327 GB, free: 14.18 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001275/0.486, allocations: 138.9 kB / 1.327 GB, free: 14.04 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002536/0.4863, allocations: 130.1 kB / 1.327 GB, free: 13.91 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001829/0.4864, allocations: 346.8 kB / 1.328 GB, free: 13.56 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006406/0.4871, allocations: 280.7 kB / 1.328 GB, free: 13.29 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007058/0.4878, allocations: 365.3 kB / 1.328 GB, free: 12.89 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001358/0.4891, allocations: 0.9051 MB / 1.329 GB, free: 11.87 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.702e-06/0.4892, allocations: 3.938 kB / 1.329 GB, free: 11.87 MB / 1.029 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001864/0.491, allocations: 1.002 MB / 1.33 GB, free: 10.8 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002017/0.4912, allocations: 263.3 kB / 1.33 GB, free: 10.49 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.4912, allocations: 288 / 1.33 GB, free: 10.49 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.129e-05/0.4913, allocations: 8 kB / 1.33 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003014/0.4916, allocations: 63.89 kB / 1.33 GB, free: 10.42 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.307e-05/0.4916, allocations: 7.938 kB / 1.33 GB, free: 10.41 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008512/0.4924, allocations: 151.6 kB / 1.331 GB, free: 10.27 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001374/0.4926, allocations: 63.92 kB / 1.331 GB, free: 10.2 MB / 1.029 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.0003638/0.4929, allocations: 318.1 kB / 1.331 GB, free: 9.852 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.616e-05/0.493, allocations: 43.75 kB / 1.331 GB, free: 9.809 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001027/0.4931, allocations: 39.5 kB / 1.331 GB, free: 9.766 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.205e-06/0.4931, allocations: 7.984 kB / 1.331 GB, free: 9.758 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.667e-06/0.4931, allocations: 0 / 1.331 GB, free: 9.758 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.4931, allocations: 0 / 1.331 GB, free: 9.758 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002016/0.4951, allocations: 1.167 MB / 1.332 GB, free: 8.512 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.4951, allocations: 0 / 1.332 GB, free: 8.512 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002516/0.4954, allocations: 59.89 kB / 1.332 GB, free: 8.453 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.122e-06/0.4954, allocations: 4 kB / 1.332 GB, free: 8.449 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.045e-05/0.4954, allocations: 8 kB / 1.332 GB, free: 8.441 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/0.4954, allocations: 4 kB / 1.332 GB, free: 8.438 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.4954, allocations: 7.938 kB / 1.332 GB, free: 8.43 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001249/0.4967, allocations: 0.7585 MB / 1.333 GB, free: 7.625 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.509e-05/0.4967, allocations: 43.64 kB / 1.333 GB, free: 7.582 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.469e-05/0.4968, allocations: 19.98 kB / 1.333 GB, free: 7.562 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002241/0.497, allocations: 23.97 kB / 1.333 GB, free: 7.539 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/0.4971, allocations: 43.88 kB / 1.333 GB, free: 7.496 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.895e-05/0.4972, allocations: 55.86 kB / 1.333 GB, free: 7.441 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002251/0.4974, allocations: 195.1 kB / 1.333 GB, free: 7.25 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4974, allocations: 3.938 kB / 1.333 GB, free: 7.246 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005456/0.498, allocations: 108 kB / 1.333 GB, free: 7.141 MB / 1.029 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.0002195/0.4982, allocations: 127.9 kB / 1.334 GB, free: 7.008 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001747/0.5, allocations: 1.043 MB / 1.335 GB, free: 5.852 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.5, allocations: 4.062 kB / 1.335 GB, free: 5.848 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0006639/0.5006, allocations: 0.4928 MB / 1.335 GB, free: 5.293 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006026/0.5012, allocations: 88.52 kB / 1.335 GB, free: 5.207 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001575/0.5028, allocations: 0.7935 MB / 1.336 GB, free: 4.387 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000601/0.5034, allocations: 0.8038 MB / 1.337 GB, free: 3.555 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002457/0.5037, allocations: 91.2 kB / 1.337 GB, free: 3.465 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.929e-05/0.5037, allocations: 31.44 kB / 1.337 GB, free: 3.438 MB / 1.029 GB Notification: Performance of SimCode: time 6.62e-07/0.5037, allocations: 0 / 1.337 GB, free: 3.438 MB / 1.029 GB Notification: Performance of Templates: time 0.01466/0.5184, allocations: 6.801 MB / 1.343 GB, free: 12.71 MB / 1.045 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/jenkins/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: 9.93266583327204]