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.0009785/0.0009785, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001013/0.001013, allocations: 177.3 kB / 23.36 MB, free: 1.133 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.014/1.014, allocations: 177.1 MB / 203.8 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] 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 2.493/2.493, allocations: 438.8 MB / 0.6826 GB, free: 13.64 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.[0-9,]+.|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.[0-9,]+.|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 1.453e-06/1.453e-06, allocations: 0 / 0.8386 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.55e-05/1.695e-05, allocations: 5.406 kB / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.001733/0.00175, allocations: 1.305 MB / 0.8399 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001602/0.003351, allocations: 1.637 MB / 0.8415 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.104e-05/0.003443, allocations: 7.938 kB / 0.8415 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001116/0.003554, allocations: 27.61 kB / 0.8415 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001098/0.003664, allocations: 91.17 kB / 0.8416 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007076/0.004372, allocations: 495 kB / 0.8421 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0004547/0.004826, allocations: 0.652 MB / 0.8427 GB, free: 9.961 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002039/0.00503, allocations: 111.9 kB / 0.8428 GB, free: 9.852 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003254/0.005356, allocations: 395.3 kB / 0.8432 GB, free: 9.465 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001925/0.005548, allocations: 179.5 kB / 0.8434 GB, free: 9.289 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 5.412e-05/0.005602, allocations: 48 kB / 0.8434 GB, free: 9.242 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 9.735e-05/0.0057, allocations: 60 kB / 0.8435 GB, free: 9.184 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 6.39e-05/0.005763, allocations: 79.67 kB / 0.8436 GB, free: 9.105 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001289/0.005892, allocations: 163.6 kB / 0.8437 GB, free: 8.945 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003283/0.006221, allocations: 430.6 kB / 0.8441 GB, free: 8.523 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.006222, allocations: 0 / 0.8441 GB, free: 8.523 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.42e-07/0.006223, allocations: 0 / 0.8441 GB, free: 8.523 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.058e-06/0.006227, allocations: 0 / 0.8441 GB, free: 8.523 MB / 0.8073 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.0006788/0.006906, allocations: 0.815 MB / 0.8449 GB, free: 7.625 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.006944, allocations: 12.62 kB / 0.8449 GB, free: 7.613 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.197e-05/0.007026, allocations: 60.88 kB / 0.845 GB, free: 7.555 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002886/0.007315, allocations: 253.7 kB / 0.8452 GB, free: 7.281 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.83e-05/0.007343, allocations: 32.81 kB / 0.8453 GB, free: 7.25 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.57e-05/0.007389, allocations: 40.38 kB / 0.8453 GB, free: 7.211 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003309/0.00772, allocations: 357.8 kB / 0.8457 GB, free: 6.824 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.00773, allocations: 192 / 0.8457 GB, free: 6.824 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.804e-05/0.007748, allocations: 12.38 kB / 0.8457 GB, free: 6.812 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.864e-06/0.007756, allocations: 4.375 kB / 0.8457 GB, free: 6.809 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001522/0.007908, allocations: 215.9 kB / 0.8459 GB, free: 6.566 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006613/0.008569, allocations: 0.5204 MB / 0.8464 GB, free: 6.027 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001862/0.008756, allocations: 270.9 kB / 0.8466 GB, free: 5.723 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001338/0.008889, allocations: 238.1 kB / 0.8469 GB, free: 5.457 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.012e-05/0.0089, allocations: 4 kB / 0.8469 GB, free: 5.453 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002022/0.009102, allocations: 331.6 kB / 0.8472 GB, free: 5.086 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=44): time 1.563e-06/0.009103, allocations: 0 / 0.8472 GB, free: 5.086 MB / 0.8073 GB Notification: Performance of matching and sorting (n=44): time 0.0004538/0.009557, allocations: 0.6882 MB / 0.8479 GB, free: 4.301 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.911e-05/0.009626, allocations: 195.8 kB / 0.8481 GB, free: 4.066 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001514/0.009778, allocations: 262.9 kB / 0.8483 GB, free: 3.797 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 4.489e-05/0.009822, allocations: 45.7 kB / 0.8483 GB, free: 3.746 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 7.208e-05/0.009895, allocations: 141.4 kB / 0.8485 GB, free: 3.605 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 6.679e-05/0.009961, allocations: 134.8 kB / 0.8486 GB, free: 3.473 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001309/0.01009, allocations: 130 kB / 0.8487 GB, free: 3.34 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.301e-05/0.01019, allocations: 350.7 kB / 0.8491 GB, free: 2.988 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000212/0.0104, allocations: 368.2 kB / 0.8494 GB, free: 2.57 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002478/0.01065, allocations: 465 kB / 0.8499 GB, free: 2.031 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003696/0.01101, allocations: 0.6664 MB / 0.8505 GB, free: 1.246 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.01102, allocations: 0 / 0.8505 GB, free: 1.246 MB / 0.8073 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0005263/0.01154, allocations: 0.8904 MB / 0.8514 GB, free: 244 kB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001047/0.01165, allocations: 271.3 kB / 0.8516 GB, free: 15.92 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.01165, allocations: 0 / 0.8516 GB, free: 15.92 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.01166, allocations: 4 kB / 0.8516 GB, free: 15.91 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001431/0.01181, allocations: 67.84 kB / 0.8517 GB, free: 15.85 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.01181, allocations: 7.984 kB / 0.8517 GB, free: 15.84 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002488/0.01206, allocations: 120 kB / 0.8518 GB, free: 15.72 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.161e-05/0.01212, allocations: 63.86 kB / 0.8519 GB, free: 15.66 MB / 0.823 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.0001429/0.01227, allocations: 281.1 kB / 0.8522 GB, free: 15.34 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.64e-05/0.0123, allocations: 39.97 kB / 0.8522 GB, free: 15.3 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.327e-05/0.01235, allocations: 43.42 kB / 0.8522 GB, free: 15.26 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.01235, allocations: 4 kB / 0.8522 GB, free: 15.26 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.01235, allocations: 3.938 kB / 0.8522 GB, free: 15.25 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.01236, allocations: 3.984 kB / 0.8523 GB, free: 15.25 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005839/0.01294, allocations: 0.8597 MB / 0.8531 GB, free: 14.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.01294, allocations: 0 / 0.8531 GB, free: 14.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001096/0.01305, allocations: 55.91 kB / 0.8531 GB, free: 14.25 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.01306, allocations: 11.94 kB / 0.8532 GB, free: 14.24 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.739e-05/0.01307, allocations: 15.98 kB / 0.8532 GB, free: 14.22 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.01308, allocations: 4 kB / 0.8532 GB, free: 14.22 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.01308, allocations: 0 / 0.8532 GB, free: 14.22 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003071/0.01339, allocations: 0.5995 MB / 0.8538 GB, free: 13.54 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.621e-05/0.01341, allocations: 39.58 kB / 0.8538 GB, free: 13.5 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.349e-05/0.01343, allocations: 8 kB / 0.8538 GB, free: 13.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.156e-05/0.01352, allocations: 23.98 kB / 0.8538 GB, free: 13.47 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.599e-05/0.01357, allocations: 39.89 kB / 0.8539 GB, free: 13.43 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.821e-05/0.01361, allocations: 47.94 kB / 0.8539 GB, free: 13.39 MB / 0.823 GB Notification: Performance of sorting global known variables: time 6.105e-05/0.01367, allocations: 88.64 kB / 0.854 GB, free: 13.3 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.01367, allocations: 0 / 0.854 GB, free: 13.3 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.000239/0.01391, allocations: 115.9 kB / 0.8541 GB, free: 13.18 MB / 0.823 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 9.542e-05/0.01401, allocations: 93.05 kB / 0.8542 GB, free: 13.09 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0005936/0.0146, allocations: 1.173 MB / 0.8553 GB, free: 11.71 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.0146, allocations: 4 kB / 0.8553 GB, free: 11.71 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002283/0.01483, allocations: 0.5139 MB / 0.8558 GB, free: 11.1 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002632/0.01509, allocations: 88.53 kB / 0.8559 GB, free: 11.02 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007353/0.01583, allocations: 0.8178 MB / 0.8567 GB, free: 10.13 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.124e-05/0.01589, allocations: 109.1 kB / 0.8568 GB, free: 10.01 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 9.362e-05/0.01598, allocations: 47.27 kB / 0.8569 GB, free: 9.961 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002698/0.01625, allocations: 189.2 kB / 0.8571 GB, free: 9.777 MB / 0.823 GB Notification: Performance of SimCode: time 5.71e-07/0.01626, allocations: 0 / 0.8571 GB, free: 9.777 MB / 0.823 GB Notification: Performance of Templates: time 0.008946/0.0252, allocations: 7.327 MB / 0.8642 GB, free: 2.625 MB / 0.823 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) [Timeout 240] 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","",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.675667936913669]