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.001324/0.001324, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001501/0.001501, allocations: 161 kB / 24.16 MB, free: 332 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 1.042/1.042, allocations: 177.2 MB / 204.6 MB, free: 5.469 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 1.933/1.933, allocations: 377.9 MB / 0.624 GB, free: 8.332 MB / 0.5886 GB " [Timeout remaining time 178] 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 1.883e-06/1.883e-06, allocations: 0 / 0.76 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.434e-05/1.622e-05, allocations: 6.031 kB / 0.76 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.001661/0.001677, allocations: 1.276 MB / 0.7613 GB, free: 5.344 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001543/0.00322, allocations: 1.634 MB / 0.7629 GB, free: 3.699 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.712e-05/0.003307, allocations: 4 kB / 0.7629 GB, free: 3.695 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001243/0.003432, allocations: 33.75 kB / 0.7629 GB, free: 3.664 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001298/0.003561, allocations: 83.56 kB / 0.763 GB, free: 3.594 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007013/0.004263, allocations: 495.7 kB / 0.7634 GB, free: 3.109 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0004471/0.00471, allocations: 0.653 MB / 0.7641 GB, free: 2.457 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001985/0.004908, allocations: 115.9 kB / 0.7642 GB, free: 2.344 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003169/0.005225, allocations: 395.8 kB / 0.7646 GB, free: 1.957 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004429/0.005668, allocations: 179.1 kB / 0.7647 GB, free: 1.785 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 5.694e-05/0.005725, allocations: 48 kB / 0.7648 GB, free: 1.738 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 8.465e-05/0.005809, allocations: 63.97 kB / 0.7648 GB, free: 1.676 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 6.612e-05/0.005876, allocations: 75.7 kB / 0.7649 GB, free: 1.602 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001194/0.005995, allocations: 163.6 kB / 0.7651 GB, free: 1.441 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003305/0.006325, allocations: 440.7 kB / 0.7655 GB, free: 1.012 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.006327, allocations: 0 / 0.7655 GB, free: 1.012 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.31e-07/0.006328, allocations: 0 / 0.7655 GB, free: 1.012 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.006332, allocations: 0 / 0.7655 GB, free: 1.012 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.000657/0.006989, allocations: 0.8088 MB / 0.7663 GB, free: 124 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.068e-05/0.00702, allocations: 12.03 kB / 0.7663 GB, free: 112 kB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.141e-05/0.007091, allocations: 56.88 kB / 0.7663 GB, free: 56 kB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000269/0.00736, allocations: 257.6 kB / 0.7666 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.734e-05/0.007387, allocations: 30.12 kB / 0.7666 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.733e-05/0.007445, allocations: 44.36 kB / 0.7667 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002772/0.007722, allocations: 350.7 kB / 0.767 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.00773, allocations: 192 / 0.767 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.921e-05/0.007749, allocations: 13.39 kB / 0.767 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.007756, allocations: 8.312 kB / 0.767 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001254/0.007881, allocations: 216.6 kB / 0.7672 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006442/0.008525, allocations: 0.5167 MB / 0.7677 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001883/0.008713, allocations: 262.3 kB / 0.768 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001269/0.00884, allocations: 242.1 kB / 0.7682 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.193e-05/0.008852, allocations: 7.984 kB / 0.7682 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002054/0.009058, allocations: 339 kB / 0.7685 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=44): time 1.823e-06/0.00906, allocations: 0 / 0.7685 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of matching and sorting (n=44): time 0.0004477/0.009507, allocations: 0.6787 MB / 0.7692 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.716e-05/0.009574, allocations: 191.9 kB / 0.7694 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/0.00972, allocations: 266.9 kB / 0.7696 GB, free: 12.31 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.123e-05/0.009761, allocations: 50.91 kB / 0.7697 GB, free: 12.26 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.563e-05/0.009837, allocations: 145.3 kB / 0.7698 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.671e-05/0.009903, allocations: 138.8 kB / 0.77 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001232/0.01003, allocations: 119 kB / 0.7701 GB, free: 11.85 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.784e-05/0.01011, allocations: 350.7 kB / 0.7704 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002019/0.01032, allocations: 381.1 kB / 0.7708 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002421/0.01056, allocations: 453.1 kB / 0.7712 GB, free: 10.54 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006421/0.0112, allocations: 0.6724 MB / 0.7719 GB, free: 9.758 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.0112, allocations: 0 / 0.7719 GB, free: 9.758 MB / 0.7292 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0005222/0.01173, allocations: 0.8826 MB / 0.7727 GB, free: 8.762 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.000103/0.01183, allocations: 273.9 kB / 0.773 GB, free: 8.441 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/0.01183, allocations: 0 / 0.773 GB, free: 8.441 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.01185, allocations: 4 kB / 0.773 GB, free: 8.438 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/0.01198, allocations: 63.84 kB / 0.7731 GB, free: 8.375 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.01198, allocations: 4 kB / 0.7731 GB, free: 8.371 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002462/0.01223, allocations: 113.7 kB / 0.7732 GB, free: 8.262 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.009e-05/0.01229, allocations: 63.86 kB / 0.7732 GB, free: 8.199 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.0001528/0.01244, allocations: 283.1 kB / 0.7735 GB, free: 7.883 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.708e-05/0.01248, allocations: 39.97 kB / 0.7735 GB, free: 7.844 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.559e-05/0.01253, allocations: 39.42 kB / 0.7736 GB, free: 7.797 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.01253, allocations: 5.562 kB / 0.7736 GB, free: 7.793 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.01253, allocations: 3.938 kB / 0.7736 GB, free: 7.789 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.01254, allocations: 3.984 kB / 0.7736 GB, free: 7.785 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006268/0.01317, allocations: 0.8631 MB / 0.7744 GB, free: 6.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.01317, allocations: 0 / 0.7744 GB, free: 6.84 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001077/0.01328, allocations: 55.91 kB / 0.7745 GB, free: 6.785 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.857e-06/0.01329, allocations: 8.922 kB / 0.7745 GB, free: 6.777 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.817e-05/0.0133, allocations: 12 kB / 0.7745 GB, free: 6.766 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.01331, allocations: 4 kB / 0.7745 GB, free: 6.762 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.01331, allocations: 0.5938 kB / 0.7745 GB, free: 6.762 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003351/0.01364, allocations: 0.5958 MB / 0.7751 GB, free: 6.086 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.027e-05/0.01367, allocations: 44.14 kB / 0.7751 GB, free: 6.043 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.65e-05/0.0137, allocations: 11.98 kB / 0.7751 GB, free: 6.031 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.177e-05/0.01378, allocations: 21.48 kB / 0.7752 GB, free: 6.012 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.706e-05/0.01384, allocations: 35.94 kB / 0.7752 GB, free: 5.977 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.692e-05/0.01387, allocations: 47.88 kB / 0.7752 GB, free: 5.93 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 6.289e-05/0.01394, allocations: 93.28 kB / 0.7753 GB, free: 5.84 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.01394, allocations: 3.938 kB / 0.7753 GB, free: 5.836 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002294/0.01417, allocations: 112.5 kB / 0.7754 GB, free: 5.727 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.000118/0.01429, allocations: 101.8 kB / 0.7755 GB, free: 5.625 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006032/0.01489, allocations: 1.168 MB / 0.7767 GB, free: 4.262 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/0.01489, allocations: 4 kB / 0.7767 GB, free: 4.258 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002234/0.01512, allocations: 0.5147 MB / 0.7772 GB, free: 3.648 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002726/0.01539, allocations: 92.42 kB / 0.7773 GB, free: 3.562 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00102/0.01641, allocations: 0.8325 MB / 0.7781 GB, free: 2.672 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.729e-05/0.01647, allocations: 105.1 kB / 0.7782 GB, free: 2.551 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 8.806e-05/0.01656, allocations: 50.28 kB / 0.7782 GB, free: 2.508 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002653/0.01682, allocations: 185.2 kB / 0.7784 GB, free: 2.324 MB / 0.7292 GB Notification: Performance of SimCode: time 9.22e-07/0.01682, allocations: 0 / 0.7784 GB, free: 2.324 MB / 0.7292 GB Notification: Performance of Templates: time 0.008834/0.02566, allocations: 7.326 MB / 0.7856 GB, free: 11.3 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 -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.383551318664104]