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.0009731/0.0009731, allocations: 80.81 kB / 19.94 MB, free: 4.539 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.000915/0.000915, allocations: 181 kB / 23.36 MB, free: 1.125 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.022/1.022, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.406/2.406, allocations: 438.8 MB / 0.6827 GB, free: 13.55 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.773e-06/1.773e-06, allocations: 0 / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.044e-05/2.221e-05, allocations: 6.25 kB / 0.8386 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.00689/0.006912, allocations: 1.271 MB / 0.8398 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.005275/0.01219, allocations: 1.629 MB / 0.8414 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001256/0.01231, allocations: 4 kB / 0.8414 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001407/0.01245, allocations: 35.53 kB / 0.8415 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001683/0.01262, allocations: 87.19 kB / 0.8415 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.001035/0.01366, allocations: 487 kB / 0.842 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.003771/0.01743, allocations: 0.6559 MB / 0.8427 GB, free: 9.977 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002737/0.0177, allocations: 111.9 kB / 0.8428 GB, free: 9.867 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005479/0.01825, allocations: 391.3 kB / 0.8431 GB, free: 9.484 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002689/0.01852, allocations: 175.6 kB / 0.8433 GB, free: 9.312 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 8.529e-05/0.0186, allocations: 52 kB / 0.8433 GB, free: 9.262 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001238/0.01873, allocations: 56 kB / 0.8434 GB, free: 9.207 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 8.609e-05/0.01881, allocations: 79.67 kB / 0.8435 GB, free: 9.129 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001878/0.019, allocations: 163.6 kB / 0.8436 GB, free: 8.969 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0005004/0.0195, allocations: 430.6 kB / 0.844 GB, free: 8.547 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.806e-06/0.0195, allocations: 0 / 0.844 GB, free: 8.547 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.61e-07/0.01951, allocations: 0 / 0.844 GB, free: 8.547 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.01951, allocations: 0 / 0.844 GB, free: 8.547 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.004/0.02351, allocations: 0.8228 MB / 0.8448 GB, free: 7.641 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.02355, allocations: 12.61 kB / 0.8449 GB, free: 7.629 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001191/0.02367, allocations: 64.88 kB / 0.8449 GB, free: 7.566 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003859/0.02405, allocations: 253.6 kB / 0.8452 GB, free: 7.293 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.008e-05/0.02409, allocations: 28.88 kB / 0.8452 GB, free: 7.266 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.724e-05/0.02417, allocations: 36.38 kB / 0.8452 GB, free: 7.23 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004305/0.0246, allocations: 357.8 kB / 0.8456 GB, free: 6.844 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.02461, allocations: 192 / 0.8456 GB, free: 6.844 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.3e-05/0.02464, allocations: 12.38 kB / 0.8456 GB, free: 6.832 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.02465, allocations: 8.375 kB / 0.8456 GB, free: 6.824 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002046/0.02485, allocations: 215.8 kB / 0.8458 GB, free: 6.582 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001032/0.02588, allocations: 0.5166 MB / 0.8463 GB, free: 6.047 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003307/0.02919, allocations: 270.3 kB / 0.8466 GB, free: 5.742 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002026/0.02939, allocations: 238.1 kB / 0.8468 GB, free: 5.477 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.77e-05/0.02941, allocations: 8 kB / 0.8468 GB, free: 5.469 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003079/0.02972, allocations: 335.5 kB / 0.8471 GB, free: 5.098 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=44): time 2.345e-06/0.02972, allocations: 4 kB / 0.8471 GB, free: 5.094 MB / 0.8073 GB Notification: Performance of matching and sorting (n=44): time 0.0006355/0.03036, allocations: 0.6766 MB / 0.8478 GB, free: 4.32 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.79e-05/0.03044, allocations: 207.8 kB / 0.848 GB, free: 4.074 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002072/0.03065, allocations: 258.9 kB / 0.8482 GB, free: 3.809 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 5.548e-05/0.03071, allocations: 41.7 kB / 0.8483 GB, free: 3.762 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 9.997e-05/0.03081, allocations: 141.4 kB / 0.8484 GB, free: 3.621 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001007/0.03091, allocations: 142.8 kB / 0.8485 GB, free: 3.48 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002002/0.03111, allocations: 126 kB / 0.8486 GB, free: 3.352 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.03122, allocations: 350.7 kB / 0.849 GB, free: 3 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003212/0.03154, allocations: 372.2 kB / 0.8493 GB, free: 2.578 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003638/0.03191, allocations: 457.1 kB / 0.8498 GB, free: 2.047 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003594/0.0355, allocations: 0.6703 MB / 0.8504 GB, free: 1.258 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.03551, allocations: 0 / 0.8504 GB, free: 1.258 MB / 0.8073 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008618/0.03637, allocations: 0.8943 MB / 0.8513 GB, free: 252 kB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001447/0.03651, allocations: 267.3 kB / 0.8516 GB, free: 15.93 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.03652, allocations: 4 kB / 0.8516 GB, free: 15.93 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.03654, allocations: 4 kB / 0.8516 GB, free: 15.92 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002098/0.03675, allocations: 59.84 kB / 0.8516 GB, free: 15.86 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.03676, allocations: 11.92 kB / 0.8516 GB, free: 15.85 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004165/0.03718, allocations: 112 kB / 0.8517 GB, free: 15.74 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001033/0.03728, allocations: 59.92 kB / 0.8518 GB, free: 15.68 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.0002199/0.0375, allocations: 289.1 kB / 0.8521 GB, free: 15.36 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.586e-05/0.03756, allocations: 43.95 kB / 0.8521 GB, free: 15.32 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.238e-05/0.03763, allocations: 35.44 kB / 0.8521 GB, free: 15.28 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.03763, allocations: 8 kB / 0.8522 GB, free: 15.27 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.03764, allocations: 3.938 kB / 0.8522 GB, free: 15.27 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.03765, allocations: 11.91 kB / 0.8522 GB, free: 15.26 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003908/0.04155, allocations: 0.848 MB / 0.853 GB, free: 14.32 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.04156, allocations: 0 / 0.853 GB, free: 14.32 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001578/0.04171, allocations: 59.91 kB / 0.8531 GB, free: 14.27 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.7e-06/0.04172, allocations: 3.938 kB / 0.8531 GB, free: 14.26 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.408e-05/0.04174, allocations: 19.98 kB / 0.8531 GB, free: 14.24 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.267e-06/0.04175, allocations: 0 / 0.8531 GB, free: 14.24 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.04175, allocations: 0 / 0.8531 GB, free: 14.24 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005333/0.04228, allocations: 0.5957 MB / 0.8537 GB, free: 13.57 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.882e-05/0.04232, allocations: 43.58 kB / 0.8537 GB, free: 13.53 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.554e-05/0.04236, allocations: 12 kB / 0.8537 GB, free: 13.52 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001272/0.04248, allocations: 19.98 kB / 0.8537 GB, free: 13.5 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.127e-05/0.04255, allocations: 35.89 kB / 0.8538 GB, free: 13.46 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.109e-05/0.04262, allocations: 55.88 kB / 0.8538 GB, free: 13.41 MB / 0.823 GB Notification: Performance of sorting global known variables: time 8.99e-05/0.04271, allocations: 96.61 kB / 0.8539 GB, free: 13.31 MB / 0.823 GB Notification: Performance of sort global known variables: time 1e-07/0.04271, allocations: 0 / 0.8539 GB, free: 13.31 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.000373/0.04308, allocations: 107.9 kB / 0.854 GB, free: 13.2 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 0.0001503/0.04323, allocations: 107.3 kB / 0.8541 GB, free: 13.09 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0006046/0.04383, allocations: 1.162 MB / 0.8553 GB, free: 11.73 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.04384, allocations: 8.125 kB / 0.8553 GB, free: 11.73 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002717/0.04411, allocations: 0.5138 MB / 0.8558 GB, free: 11.12 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003566/0.04447, allocations: 96.47 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.000898/0.04537, allocations: 0.8139 MB / 0.8566 GB, free: 10.14 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.337e-05/0.04544, allocations: 105.1 kB / 0.8567 GB, free: 10.02 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001173/0.04556, allocations: 43.28 kB / 0.8568 GB, free: 9.98 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003419/0.0459, allocations: 193.2 kB / 0.857 GB, free: 9.793 MB / 0.823 GB Notification: Performance of SimCode: time 6.81e-07/0.0459, allocations: 0 / 0.857 GB, free: 9.793 MB / 0.823 GB Notification: Performance of Templates: time 0.01028/0.05618, allocations: 7.324 MB / 0.8641 GB, free: 2.641 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 -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.475971474777907]