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.001469/0.001469, allocations: 80.3 kB / 21.47 MB, free: 3.035 MB / 18.57 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.001291/0.001291, allocations: 170.8 kB / 24.86 MB, free: 8.367 MB / 18.57 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.055/1.055, allocations: 177.2 MB / 205.3 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.916/1.916, allocations: 377.9 MB / 0.6247 GB, free: 8.438 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.[0-9,]+.|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.[0-9,]+.|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: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.8128 GB, free: 1.473 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.106e-05/1.267e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.469 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.001627/0.001639, allocations: 1.265 MB / 0.814 GB, free: 224 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001662/0.003301, allocations: 1.609 MB / 0.8156 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.821e-05/0.003399, allocations: 4 kB / 0.8156 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001234/0.003523, allocations: 40.45 kB / 0.8156 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001098/0.003633, allocations: 81 kB / 0.8157 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007221/0.004355, allocations: 491 kB / 0.8162 GB, free: 14 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0004574/0.004812, allocations: 0.6535 MB / 0.8168 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002032/0.005015, allocations: 113.2 kB / 0.8169 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003161/0.005331, allocations: 397.1 kB / 0.8173 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002126/0.005544, allocations: 176.6 kB / 0.8175 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.898e-05/0.005603, allocations: 48 kB / 0.8175 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 9.278e-05/0.005696, allocations: 65.05 kB / 0.8176 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 6.579e-05/0.005762, allocations: 67.7 kB / 0.8176 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001352/0.005897, allocations: 171.6 kB / 0.8178 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003441/0.006241, allocations: 435.4 kB / 0.8182 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.794e-06/0.006243, allocations: 0 / 0.8182 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.333e-06/0.006244, allocations: 6.219 kB / 0.8182 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.607e-06/0.006248, allocations: 0 / 0.8182 GB, free: 11.9 MB / 0.7761 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.0007082/0.006956, allocations: 0.9436 MB / 0.8192 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 2.711e-05/0.006983, allocations: 12.03 kB / 0.8192 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.002e-05/0.007073, allocations: 73.23 kB / 0.8192 GB, free: 10.78 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002751/0.007348, allocations: 299.8 kB / 0.8195 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.481e-05/0.007383, allocations: 32.86 kB / 0.8195 GB, free: 10.42 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.599e-05/0.007429, allocations: 40.88 kB / 0.8196 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000289/0.007718, allocations: 347.4 kB / 0.8199 GB, free: 10.01 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.007726, allocations: 192 / 0.8199 GB, free: 10.01 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.758e-05/0.007744, allocations: 16.31 kB / 0.8199 GB, free: 9.992 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.007751, allocations: 5 kB / 0.8199 GB, free: 9.988 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001352/0.007886, allocations: 220.7 kB / 0.8202 GB, free: 9.746 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007329/0.008619, allocations: 0.7155 MB / 0.8208 GB, free: 9.004 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001995/0.008818, allocations: 288.3 kB / 0.8211 GB, free: 8.68 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000136/0.008954, allocations: 240.2 kB / 0.8214 GB, free: 8.41 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.379e-05/0.008968, allocations: 8.812 kB / 0.8214 GB, free: 8.402 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002168/0.009185, allocations: 348.1 kB / 0.8217 GB, free: 8.02 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=44): time 1.512e-06/0.009187, allocations: 0 / 0.8217 GB, free: 8.02 MB / 0.7761 GB Notification: Performance of matching and sorting (n=44): time 0.0005275/0.009714, allocations: 0.7643 MB / 0.8224 GB, free: 7.156 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.47e-05/0.009779, allocations: 192.9 kB / 0.8226 GB, free: 6.926 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001599/0.009939, allocations: 314.1 kB / 0.8229 GB, free: 6.602 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.859e-05/0.009977, allocations: 44.02 kB / 0.823 GB, free: 6.555 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.01008, allocations: 223.5 kB / 0.8232 GB, free: 6.332 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 7.049e-05/0.01015, allocations: 138.9 kB / 0.8233 GB, free: 6.195 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001371/0.01029, allocations: 143.7 kB / 0.8234 GB, free: 6.047 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.01042, allocations: 0.5195 MB / 0.824 GB, free: 5.516 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002289/0.01065, allocations: 384.2 kB / 0.8243 GB, free: 5.086 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002767/0.01093, allocations: 0.4967 MB / 0.8248 GB, free: 4.492 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003859/0.01132, allocations: 0.6807 MB / 0.8255 GB, free: 3.684 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.01132, allocations: 0 / 0.8255 GB, free: 3.684 MB / 0.7761 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0007026/0.01202, allocations: 1.009 MB / 0.8265 GB, free: 2.562 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 9.816e-05/0.01212, allocations: 271.3 kB / 0.8267 GB, free: 2.242 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.01212, allocations: 3.938 kB / 0.8267 GB, free: 2.238 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.01214, allocations: 9.031 kB / 0.8267 GB, free: 2.23 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001312/0.01227, allocations: 59.91 kB / 0.8268 GB, free: 2.172 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.01227, allocations: 4.656 kB / 0.8268 GB, free: 2.168 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002754/0.01255, allocations: 114.2 kB / 0.8269 GB, free: 2.059 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.466e-05/0.01261, allocations: 63.92 kB / 0.827 GB, free: 1.996 MB / 0.7761 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.0001571/0.01277, allocations: 333.9 kB / 0.8273 GB, free: 1.629 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.844e-05/0.01282, allocations: 60.89 kB / 0.8273 GB, free: 1.57 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.44e-05/0.01286, allocations: 39.42 kB / 0.8274 GB, free: 1.531 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.01287, allocations: 7.938 kB / 0.8274 GB, free: 1.523 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-06/0.01287, allocations: 1.062 kB / 0.8274 GB, free: 1.523 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.01287, allocations: 3.984 kB / 0.8274 GB, free: 1.52 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006825/0.01356, allocations: 0.971 MB / 0.8283 GB, free: 468 kB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.01356, allocations: 0.5938 kB / 0.8283 GB, free: 468 kB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001105/0.01367, allocations: 65.33 kB / 0.8284 GB, free: 404 kB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.01367, allocations: 4 kB / 0.8284 GB, free: 400 kB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/0.01369, allocations: 12 kB / 0.8284 GB, free: 388 kB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.01369, allocations: 4 kB / 0.8284 GB, free: 384 kB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.01369, allocations: 1.625 kB / 0.8284 GB, free: 384 kB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004063/0.0141, allocations: 0.7244 MB / 0.8291 GB, free: 15.57 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 2.857e-05/0.01413, allocations: 39.64 kB / 0.8292 GB, free: 15.53 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.663e-05/0.01415, allocations: 12 kB / 0.8292 GB, free: 15.52 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.893e-05/0.01424, allocations: 23.39 kB / 0.8292 GB, free: 15.5 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.678e-05/0.0143, allocations: 47.81 kB / 0.8292 GB, free: 15.45 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.836e-05/0.01434, allocations: 39.95 kB / 0.8293 GB, free: 15.41 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 9.079e-05/0.01443, allocations: 210.9 kB / 0.8295 GB, free: 15.21 MB / 0.7917 GB Notification: Performance of sort global known variables: time 6e-08/0.01443, allocations: 0 / 0.8295 GB, free: 15.21 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.000267/0.01469, allocations: 111.9 kB / 0.8296 GB, free: 15.1 MB / 0.7917 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.0001051/0.0148, allocations: 125 kB / 0.8297 GB, free: 14.97 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0006392/0.01544, allocations: 1.189 MB / 0.8309 GB, free: 13.58 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.01544, allocations: 0 / 0.8309 GB, free: 13.58 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0002346/0.01567, allocations: 0.5244 MB / 0.8314 GB, free: 12.96 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003237/0.016, allocations: 92.94 kB / 0.8315 GB, free: 12.87 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007255/0.01672, allocations: 0.8118 MB / 0.8323 GB, free: 11.99 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.874e-05/0.01678, allocations: 109 kB / 0.8324 GB, free: 11.86 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 9.249e-05/0.01688, allocations: 43.28 kB / 0.8324 GB, free: 11.82 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002823/0.01716, allocations: 226.1 kB / 0.8326 GB, free: 11.6 MB / 0.7917 GB Notification: Performance of SimCode: time 6.21e-07/0.01716, allocations: 0 / 0.8326 GB, free: 11.6 MB / 0.7917 GB Notification: Performance of Templates: time 0.009071/0.02623, allocations: 7.677 MB / 0.8401 GB, free: 4.09 MB / 0.7917 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.3633180828765035]