Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001865/0.001865, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001946/0.001946, allocations: 212.8 kB / 22.99 MB, free: 4.957 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.567/1.567, allocations: 230.6 MB / 256.8 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.279/3.279, allocations: 0.49 GB / 0.7959 GB, free: 35.51 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.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_12_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_12_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.002152/0.002152, allocations: 68.03 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4161/0.4182, allocations: 176.1 MB / 1.327 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002861/0.4211, allocations: 1.251 MB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002362/0.4234, allocations: 1.572 MB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001311/0.4236, allocations: 4 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001595/0.4237, allocations: 35.53 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001636/0.4239, allocations: 79.38 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001241/0.4251, allocations: 0.4955 MB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0007174/0.4259, allocations: 0.6443 MB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000321/0.4262, allocations: 117.3 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002932/0.4265, allocations: 263.3 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003328/0.4268, allocations: 243.1 kB / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001074/0.4269, allocations: 64 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001611/0.4271, allocations: 83.98 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001113/0.4272, allocations: 83.69 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002568/0.4274, allocations: 215.2 kB / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007698/0.4282, allocations: 0.6929 MB / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.4282, allocations: 0 / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.433e-06/0.4282, allocations: 3.938 kB / 1.333 GB, free: 11.15 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.687e-06/0.4282, allocations: 0 / 1.333 GB, free: 11.15 MB / 1.029 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.001472/0.4297, allocations: 0.871 MB / 1.334 GB, free: 10.19 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.4297, allocations: 12.03 kB / 1.334 GB, free: 10.18 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001377/0.4299, allocations: 52.7 kB / 1.334 GB, free: 10.13 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001366/0.4312, allocations: 409.4 kB / 1.334 GB, free: 9.703 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.462e-05/0.4313, allocations: 28.88 kB / 1.334 GB, free: 9.676 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.633e-05/0.4314, allocations: 40.38 kB / 1.334 GB, free: 9.637 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007598/0.4321, allocations: 457 kB / 1.335 GB, free: 9.156 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.4322, allocations: 3.938 kB / 1.335 GB, free: 9.152 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.086e-05/0.4322, allocations: 12 kB / 1.335 GB, free: 9.141 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/0.4322, allocations: 8 kB / 1.335 GB, free: 9.133 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007468/0.4329, allocations: 390.2 kB / 1.335 GB, free: 8.719 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001679/0.4346, allocations: 0.7322 MB / 1.336 GB, free: 7.953 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007606/0.4354, allocations: 486 kB / 1.336 GB, free: 7.441 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005786/0.436, allocations: 394.9 kB / 1.337 GB, free: 7.023 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.676e-05/0.436, allocations: 7.938 kB / 1.337 GB, free: 7.016 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007313/0.4367, allocations: 464.2 kB / 1.337 GB, free: 6.52 MB / 1.029 GB Notification: Performance of pre-optimization done (n=44): time 3.136e-06/0.4367, allocations: 0 / 1.337 GB, free: 6.52 MB / 1.029 GB Notification: Performance of matching and sorting (n=44): time 0.00184/0.4386, allocations: 1.1 MB / 1.338 GB, free: 5.32 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000174/0.4387, allocations: 195.9 kB / 1.338 GB, free: 5.086 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003112/0.439, allocations: 280.5 kB / 1.338 GB, free: 4.801 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.859e-05/0.4391, allocations: 41.7 kB / 1.339 GB, free: 4.754 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001695/0.4393, allocations: 164.9 kB / 1.339 GB, free: 4.59 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001345/0.4394, allocations: 138.9 kB / 1.339 GB, free: 4.453 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002442/0.4397, allocations: 134.1 kB / 1.339 GB, free: 4.316 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001859/0.4399, allocations: 350.8 kB / 1.339 GB, free: 3.965 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007858/0.4406, allocations: 0.5235 MB / 1.34 GB, free: 3.387 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008698/0.4415, allocations: 0.6101 MB / 1.34 GB, free: 2.684 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001319/0.4428, allocations: 0.9168 MB / 1.341 GB, free: 1.652 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.4428, allocations: 0 / 1.341 GB, free: 1.652 MB / 1.029 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001948/0.4448, allocations: 1.271 MB / 1.343 GB, free: 272 kB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002052/0.445, allocations: 259.3 kB / 1.343 GB, free: 15.96 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.445, allocations: 0 / 1.343 GB, free: 15.96 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.324e-05/0.445, allocations: 4 kB / 1.343 GB, free: 15.95 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003046/0.4453, allocations: 75.83 kB / 1.343 GB, free: 15.88 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.295e-05/0.4453, allocations: 4 kB / 1.343 GB, free: 15.88 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007525/0.4461, allocations: 147.7 kB / 1.343 GB, free: 15.73 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001397/0.4462, allocations: 67.91 kB / 1.343 GB, free: 15.66 MB / 1.045 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.0003545/0.4466, allocations: 334.4 kB / 1.343 GB, free: 15.3 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.628e-05/0.4467, allocations: 43.7 kB / 1.343 GB, free: 15.25 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.287e-05/0.4467, allocations: 43.36 kB / 1.343 GB, free: 15.21 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.4468, allocations: 4 kB / 1.343 GB, free: 15.2 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.4468, allocations: 0 / 1.343 GB, free: 15.2 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.4468, allocations: 0 / 1.343 GB, free: 15.2 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001963/0.4487, allocations: 1.215 MB / 1.345 GB, free: 13.89 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.4487, allocations: 4 kB / 1.345 GB, free: 13.89 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002581/0.449, allocations: 63.89 kB / 1.345 GB, free: 13.82 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/0.449, allocations: 4 kB / 1.345 GB, free: 13.82 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.328e-05/0.449, allocations: 11.98 kB / 1.345 GB, free: 13.81 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.449, allocations: 8 kB / 1.345 GB, free: 13.8 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.449, allocations: 0 / 1.345 GB, free: 13.8 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001303/0.4503, allocations: 0.8918 MB / 1.346 GB, free: 12.83 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.397e-05/0.4504, allocations: 31.7 kB / 1.346 GB, free: 12.8 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.316e-05/0.4504, allocations: 16 kB / 1.346 GB, free: 12.79 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002233/0.4507, allocations: 31.91 kB / 1.346 GB, free: 12.75 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.4508, allocations: 35.94 kB / 1.346 GB, free: 12.72 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.168e-05/0.4509, allocations: 47.94 kB / 1.346 GB, free: 12.67 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002023/0.4511, allocations: 195 kB / 1.346 GB, free: 12.48 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4511, allocations: 0 / 1.346 GB, free: 12.48 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004603/0.4515, allocations: 111.9 kB / 1.346 GB, free: 12.37 MB / 1.045 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.0002048/0.4517, allocations: 119.9 kB / 1.346 GB, free: 12.25 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001909/0.4536, allocations: 1.441 MB / 1.348 GB, free: 10.61 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.4536, allocations: 0 / 1.348 GB, free: 10.61 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0007326/0.4544, allocations: 0.6306 MB / 1.348 GB, free: 9.887 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005673/0.4549, allocations: 86.72 kB / 1.348 GB, free: 9.805 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001474/0.4564, allocations: 0.9307 MB / 1.349 GB, free: 8.816 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002092/0.4566, allocations: 188.3 kB / 1.349 GB, free: 8.605 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002181/0.4568, allocations: 87.2 kB / 1.349 GB, free: 8.523 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.521e-05/0.4569, allocations: 31.44 kB / 1.349 GB, free: 8.492 MB / 1.045 GB Notification: Performance of SimCode: time 6.01e-07/0.4569, allocations: 0 / 1.349 GB, free: 8.492 MB / 1.045 GB Notification: Performance of Templates: time 0.01394/0.4708, allocations: 7.44 MB / 1.357 GB, free: 1.18 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.525435048999498]