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.001019/0.001019, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001012/0.001012, allocations: 161 kB / 24.17 MB, free: 328 kB / 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 0.988/0.988, allocations: 177.1 MB / 204.6 MB, free: 5.453 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 2.018/2.018, allocations: 377.9 MB / 0.624 GB, free: 8.344 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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 2.274e-06/2.274e-06, allocations: 0 / 0.7601 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.145e-05/2.372e-05, allocations: 3.625 kB / 0.7601 GB, free: 6.566 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.001914/0.001937, allocations: 1.322 MB / 0.7614 GB, free: 5.27 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001804/0.003741, allocations: 1.614 MB / 0.7629 GB, free: 3.645 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001193/0.00386, allocations: 8.703 kB / 0.7629 GB, free: 3.637 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001236/0.003984, allocations: 34.39 kB / 0.763 GB, free: 3.605 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001446/0.004128, allocations: 90.86 kB / 0.7631 GB, free: 3.523 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009376/0.005066, allocations: 495.6 kB / 0.7635 GB, free: 3.039 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0006201/0.005686, allocations: 0.6535 MB / 0.7642 GB, free: 2.387 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002354/0.005922, allocations: 115.9 kB / 0.7643 GB, free: 2.273 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004223/0.006344, allocations: 401.4 kB / 0.7647 GB, free: 1.883 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002442/0.006588, allocations: 173 kB / 0.7648 GB, free: 1.715 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 6.713e-05/0.006655, allocations: 52 kB / 0.7649 GB, free: 1.664 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001221/0.006777, allocations: 63.98 kB / 0.7649 GB, free: 1.602 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 6.752e-05/0.006845, allocations: 71.69 kB / 0.765 GB, free: 1.531 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001303/0.006975, allocations: 164.9 kB / 0.7652 GB, free: 1.371 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0004075/0.007383, allocations: 426.7 kB / 0.7656 GB, free: 0.9531 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.007386, allocations: 0 / 0.7656 GB, free: 0.9531 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.212e-06/0.007387, allocations: 1.25 kB / 0.7656 GB, free: 0.9531 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.129e-06/0.007392, allocations: 0 / 0.7656 GB, free: 0.9531 MB / 0.7136 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.0007432/0.008135, allocations: 0.8219 MB / 0.7664 GB, free: 52 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.008168, allocations: 8.031 kB / 0.7664 GB, free: 44 kB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.174e-05/0.00826, allocations: 60.89 kB / 0.7664 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002835/0.008544, allocations: 257.6 kB / 0.7667 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.403e-05/0.008578, allocations: 32.81 kB / 0.7667 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.359e-05/0.008621, allocations: 40.38 kB / 0.7668 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003083/0.00893, allocations: 352.5 kB / 0.7671 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.00894, allocations: 192 / 0.7671 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.73e-05/0.008957, allocations: 12.38 kB / 0.7671 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.008966, allocations: 8.375 kB / 0.7671 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000134/0.0091, allocations: 211.9 kB / 0.7673 GB, free: 15 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000728/0.009828, allocations: 0.5145 MB / 0.7678 GB, free: 14.47 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002376/0.01007, allocations: 275 kB / 0.7681 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001425/0.01021, allocations: 229.3 kB / 0.7683 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.415e-05/0.01022, allocations: 7.984 kB / 0.7683 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002273/0.01045, allocations: 332.3 kB / 0.7686 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=44): time 1.873e-06/0.01045, allocations: 0 / 0.7686 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of matching and sorting (n=44): time 0.0004522/0.0109, allocations: 0.6895 MB / 0.7693 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.723e-05/0.01097, allocations: 195.9 kB / 0.7695 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000152/0.01112, allocations: 258.9 kB / 0.7697 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.935e-05/0.01116, allocations: 45.7 kB / 0.7698 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.442e-05/0.01124, allocations: 149.3 kB / 0.7699 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.288e-05/0.01131, allocations: 130.9 kB / 0.77 GB, free: 11.92 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001357/0.01145, allocations: 130.1 kB / 0.7702 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.01155, allocations: 346.7 kB / 0.7705 GB, free: 11.44 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002273/0.01178, allocations: 374 kB / 0.7709 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002549/0.01203, allocations: 469 kB / 0.7713 GB, free: 10.47 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003737/0.01241, allocations: 0.658 MB / 0.7719 GB, free: 9.699 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.01241, allocations: 0 / 0.7719 GB, free: 9.699 MB / 0.7292 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0005761/0.01299, allocations: 0.8892 MB / 0.7728 GB, free: 8.699 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001057/0.01309, allocations: 272.5 kB / 0.7731 GB, free: 8.379 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.0131, allocations: 4 kB / 0.7731 GB, free: 8.375 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.01311, allocations: 5.562 kB / 0.7731 GB, free: 8.371 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001496/0.01326, allocations: 63.84 kB / 0.7731 GB, free: 8.309 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.01327, allocations: 7.984 kB / 0.7732 GB, free: 8.301 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002576/0.01353, allocations: 105.6 kB / 0.7733 GB, free: 8.199 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.593e-05/0.01359, allocations: 64.7 kB / 0.7733 GB, free: 8.137 MB / 0.7292 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.0001593/0.01375, allocations: 286 kB / 0.7736 GB, free: 7.816 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.012e-05/0.01379, allocations: 44.77 kB / 0.7736 GB, free: 7.773 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.071e-05/0.01384, allocations: 43.42 kB / 0.7737 GB, free: 7.723 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.01385, allocations: 9.234 kB / 0.7737 GB, free: 7.715 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.01385, allocations: 3.938 kB / 0.7737 GB, free: 7.711 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.01386, allocations: 0 / 0.7737 GB, free: 7.711 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006474/0.01451, allocations: 0.8626 MB / 0.7745 GB, free: 6.766 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.01451, allocations: 0.5938 kB / 0.7745 GB, free: 6.766 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001302/0.01464, allocations: 63.91 kB / 0.7746 GB, free: 6.703 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.01464, allocations: 5.094 kB / 0.7746 GB, free: 6.699 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.842e-05/0.01466, allocations: 11.98 kB / 0.7746 GB, free: 6.688 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.01466, allocations: 4 kB / 0.7746 GB, free: 6.684 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.01467, allocations: 0.9375 kB / 0.7746 GB, free: 6.684 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003345/0.015, allocations: 0.5992 MB / 0.7752 GB, free: 6.004 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.777e-05/0.01503, allocations: 40.55 kB / 0.7752 GB, free: 5.965 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.496e-05/0.01505, allocations: 8 kB / 0.7752 GB, free: 5.957 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.33e-05/0.01514, allocations: 20.5 kB / 0.7753 GB, free: 5.938 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.314e-05/0.0152, allocations: 36.91 kB / 0.7753 GB, free: 5.902 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.101e-05/0.01524, allocations: 43.94 kB / 0.7753 GB, free: 5.859 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 6.519e-05/0.01531, allocations: 89.48 kB / 0.7754 GB, free: 5.773 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.01531, allocations: 0 / 0.7754 GB, free: 5.773 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002637/0.01557, allocations: 107.9 kB / 0.7755 GB, free: 5.668 MB / 0.7292 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.000134/0.0157, allocations: 108.6 kB / 0.7756 GB, free: 5.559 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006451/0.01635, allocations: 1.178 MB / 0.7768 GB, free: 4.184 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.144e-06/0.01636, allocations: 7.594 kB / 0.7768 GB, free: 4.18 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002495/0.01661, allocations: 0.5138 MB / 0.7773 GB, free: 3.57 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002936/0.0169, allocations: 90.92 kB / 0.7774 GB, free: 3.484 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007928/0.01769, allocations: 0.8254 MB / 0.7782 GB, free: 2.598 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.103e-05/0.01775, allocations: 101.1 kB / 0.7783 GB, free: 2.48 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001175/0.01787, allocations: 46.55 kB / 0.7783 GB, free: 2.441 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000293/0.01816, allocations: 190.3 kB / 0.7785 GB, free: 2.254 MB / 0.7292 GB Notification: Performance of SimCode: time 1.563e-06/0.01816, allocations: 0 / 0.7785 GB, free: 2.254 MB / 0.7292 GB Notification: Performance of Templates: time 0.009245/0.02741, allocations: 7.331 MB / 0.7857 GB, free: 11.21 MB / 0.7448 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 -s gbode -gbm=radauIIA3 -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.28286341112107]