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.001677/0.001677, allocations: 104.7 kB / 16.45 MB, free: 6.449 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.001843/0.001843, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.601/1.601, allocations: 230.6 MB / 252.8 MB, free: 9.137 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.253/3.253, allocations: 0.49 GB / 0.7916 GB, free: 33.27 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.002075/0.002075, allocations: 69.86 kB / 1.149 GB, free: 26.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.416/0.4181, allocations: 176.1 MB / 1.321 GB, free: 2.895 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.003289/0.4214, allocations: 1.354 MB / 1.323 GB, free: 1.539 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002714/0.4241, allocations: 1.591 MB / 1.324 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001489/0.4242, allocations: 7.938 kB / 1.324 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001863/0.4244, allocations: 31.55 kB / 1.324 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001735/0.4246, allocations: 79.38 kB / 1.324 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00137/0.426, allocations: 0.5024 MB / 1.325 GB, free: 15.33 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0008185/0.4268, allocations: 0.6482 MB / 1.325 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003422/0.4271, allocations: 124.9 kB / 1.325 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003053/0.4274, allocations: 255.4 kB / 1.326 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003423/0.4278, allocations: 251.1 kB / 1.326 GB, free: 14.06 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001027/0.4279, allocations: 64 kB / 1.326 GB, free: 14 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001481/0.428, allocations: 79.98 kB / 1.326 GB, free: 13.92 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000129/0.4282, allocations: 79.7 kB / 1.326 GB, free: 13.84 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002867/0.4285, allocations: 247 kB / 1.326 GB, free: 13.6 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0008501/0.4293, allocations: 0.6928 MB / 1.327 GB, free: 12.9 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.4293, allocations: 0 / 1.327 GB, free: 12.9 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.264e-06/0.4293, allocations: 0 / 1.327 GB, free: 12.9 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.997e-06/0.4293, allocations: 0 / 1.327 GB, free: 12.9 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.001582/0.4309, allocations: 0.9581 MB / 1.328 GB, free: 11.84 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.622e-05/0.431, allocations: 11.98 kB / 1.328 GB, free: 11.82 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001405/0.4311, allocations: 48.7 kB / 1.328 GB, free: 11.78 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001413/0.4325, allocations: 472.1 kB / 1.329 GB, free: 11.27 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.622e-05/0.4326, allocations: 24.94 kB / 1.329 GB, free: 11.25 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.606e-05/0.4326, allocations: 40.38 kB / 1.329 GB, free: 11.21 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007433/0.4334, allocations: 325.2 kB / 1.329 GB, free: 10.89 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/0.4334, allocations: 3.938 kB / 1.329 GB, free: 10.89 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.413e-05/0.4334, allocations: 16 kB / 1.329 GB, free: 10.87 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.4334, allocations: 8 kB / 1.329 GB, free: 10.86 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007198/0.4342, allocations: 246.1 kB / 1.329 GB, free: 10.62 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001821/0.436, allocations: 0.9122 MB / 1.33 GB, free: 9.656 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007322/0.4367, allocations: 350.5 kB / 1.33 GB, free: 9.305 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005472/0.4373, allocations: 266.4 kB / 1.331 GB, free: 9.043 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.947e-05/0.4373, allocations: 11.94 kB / 1.331 GB, free: 9.031 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006384/0.4379, allocations: 311.1 kB / 1.331 GB, free: 8.715 MB / 1.029 GB Notification: Performance of pre-optimization done (n=44): time 2.555e-06/0.4379, allocations: 0 / 1.331 GB, free: 8.715 MB / 1.029 GB Notification: Performance of matching and sorting (n=44): time 0.001781/0.4397, allocations: 0.8461 MB / 1.332 GB, free: 7.832 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001491/0.4399, allocations: 187.9 kB / 1.332 GB, free: 7.605 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003502/0.4402, allocations: 300.4 kB / 1.332 GB, free: 7.301 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.463e-05/0.4403, allocations: 41.7 kB / 1.332 GB, free: 7.254 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000169/0.4405, allocations: 165 kB / 1.332 GB, free: 7.09 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001404/0.4406, allocations: 146.8 kB / 1.333 GB, free: 6.945 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002502/0.4409, allocations: 130.1 kB / 1.333 GB, free: 6.812 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002082/0.4411, allocations: 350.8 kB / 1.333 GB, free: 6.461 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006836/0.4417, allocations: 276.8 kB / 1.333 GB, free: 6.191 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007374/0.4425, allocations: 357.8 kB / 1.334 GB, free: 5.801 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001383/0.4439, allocations: 0.909 MB / 1.335 GB, free: 4.777 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.4439, allocations: 3.938 kB / 1.335 GB, free: 4.773 MB / 1.029 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001907/0.4458, allocations: 1.009 MB / 1.336 GB, free: 3.707 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.000192/0.446, allocations: 255.3 kB / 1.336 GB, free: 3.402 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/0.446, allocations: 4 kB / 1.336 GB, free: 3.398 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.223e-05/0.446, allocations: 4 kB / 1.336 GB, free: 3.395 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003186/0.4463, allocations: 72.17 kB / 1.336 GB, free: 3.324 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/0.4463, allocations: 4 kB / 1.336 GB, free: 3.32 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008153/0.4471, allocations: 135.6 kB / 1.336 GB, free: 3.188 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001328/0.4473, allocations: 75.86 kB / 1.336 GB, free: 3.113 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.000377/0.4477, allocations: 314.1 kB / 1.336 GB, free: 2.766 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.79e-05/0.4477, allocations: 39.77 kB / 1.336 GB, free: 2.727 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000109/0.4478, allocations: 39.48 kB / 1.336 GB, free: 2.68 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.785e-06/0.4478, allocations: 8 kB / 1.336 GB, free: 2.672 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.4478, allocations: 4 kB / 1.336 GB, free: 2.668 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.597e-06/0.4479, allocations: 7.984 kB / 1.336 GB, free: 2.66 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002049/0.4499, allocations: 1.19 MB / 1.338 GB, free: 1.383 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.4499, allocations: 0 / 1.338 GB, free: 1.383 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002545/0.4502, allocations: 63.89 kB / 1.338 GB, free: 1.32 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.798e-06/0.4502, allocations: 0 / 1.338 GB, free: 1.32 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.135e-05/0.4502, allocations: 12 kB / 1.338 GB, free: 1.309 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.4502, allocations: 7.938 kB / 1.338 GB, free: 1.301 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.4502, allocations: 3.938 kB / 1.338 GB, free: 1.297 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001262/0.4515, allocations: 0.7709 MB / 1.338 GB, free: 492 kB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.455e-05/0.4516, allocations: 112.8 kB / 1.339 GB, free: 360 kB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.787e-05/0.4516, allocations: 8 kB / 1.339 GB, free: 352 kB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002376/0.4518, allocations: 31.97 kB / 1.339 GB, free: 320 kB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/0.452, allocations: 43.89 kB / 1.339 GB, free: 276 kB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.26e-05/0.452, allocations: 43.94 kB / 1.339 GB, free: 232 kB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002289/0.4523, allocations: 203 kB / 1.339 GB, free: 28 kB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4523, allocations: 0 / 1.339 GB, free: 28 kB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005408/0.4528, allocations: 107.9 kB / 1.339 GB, free: 15.92 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.0002371/0.4531, allocations: 124.2 kB / 1.339 GB, free: 15.79 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001806/0.4549, allocations: 1.038 MB / 1.34 GB, free: 14.64 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.4549, allocations: 4 kB / 1.34 GB, free: 14.64 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0006958/0.4556, allocations: 0.4935 MB / 1.341 GB, free: 14.08 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005894/0.4562, allocations: 80.53 kB / 1.341 GB, free: 14 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001571/0.4577, allocations: 0.8049 MB / 1.341 GB, free: 13.17 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000538/0.4583, allocations: 0.8041 MB / 1.342 GB, free: 12.34 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002598/0.4585, allocations: 95.19 kB / 1.342 GB, free: 12.25 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.262e-05/0.4586, allocations: 31.44 kB / 1.342 GB, free: 12.22 MB / 1.045 GB Notification: Performance of SimCode: time 5.81e-07/0.4586, allocations: 0 / 1.342 GB, free: 12.22 MB / 1.045 GB Notification: Performance of Templates: time 0.01439/0.473, allocations: 6.632 MB / 1.349 GB, free: 5.664 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 -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/jenkins/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.893389726057649]