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.001645/0.001645, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.002163/0.002163, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.524/1.524, allocations: 177.1 MB / 203.1 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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 3.388/3.388, allocations: 429.6 MB / 0.673 GB, free: 3.895 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.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.1.|extIndSig.u.2.|extIndSig.u.3.|extIndSig.u.4.|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.1.|extIndSig.u.2.|extIndSig.u.3.|extIndSig.u.4.|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 2.164e-06/2.164e-06, allocations: 0.7656 kB / 0.8776 GB, free: 6.461 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.951e-05/3.167e-05, allocations: 2.812 kB / 0.8776 GB, free: 6.457 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002853/0.002885, allocations: 1.262 MB / 0.8788 GB, free: 5.223 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002671/0.005556, allocations: 1.566 MB / 0.8804 GB, free: 3.645 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001661/0.005722, allocations: 11.56 kB / 0.8804 GB, free: 3.637 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001958/0.005918, allocations: 35.53 kB / 0.8804 GB, free: 3.602 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002239/0.006142, allocations: 83.31 kB / 0.8805 GB, free: 3.52 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.001301/0.007442, allocations: 486.9 kB / 0.881 GB, free: 3.043 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.001211/0.008653, allocations: 0.6657 MB / 0.8816 GB, free: 2.379 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003254/0.008979, allocations: 109.3 kB / 0.8817 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006089/0.009588, allocations: 367.5 kB / 0.8821 GB, free: 1.906 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003639/0.009951, allocations: 195.5 kB / 0.8822 GB, free: 1.715 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.0001288/0.01008, allocations: 64 kB / 0.8823 GB, free: 1.652 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001565/0.01024, allocations: 73 kB / 0.8824 GB, free: 1.582 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001195/0.01036, allocations: 83.67 kB / 0.8825 GB, free: 1.5 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0002938/0.01065, allocations: 192.7 kB / 0.8826 GB, free: 1.312 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.001115/0.01177, allocations: 0.7634 MB / 0.8834 GB, free: 0.5469 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.01177, allocations: 0 / 0.8834 GB, free: 0.5469 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.292e-06/0.01177, allocations: 1.125 kB / 0.8834 GB, free: 0.5469 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.175e-05/0.01179, allocations: 0 / 0.8834 GB, free: 0.5469 MB / 0.8386 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.001792/0.01359, allocations: 0.8721 MB / 0.8842 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.01363, allocations: 12.02 kB / 0.8842 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002179/0.01385, allocations: 73.77 kB / 0.8843 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001495/0.01534, allocations: 415.5 kB / 0.8847 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.519e-05/0.0154, allocations: 30.7 kB / 0.8847 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.984e-05/0.0155, allocations: 36.38 kB / 0.8848 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008932/0.01639, allocations: 454.4 kB / 0.8852 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.0164, allocations: 192 / 0.8852 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.354e-05/0.01644, allocations: 12.38 kB / 0.8852 GB, free: 14.53 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.6e-05/0.01645, allocations: 16.11 kB / 0.8852 GB, free: 14.51 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008477/0.0173, allocations: 382.1 kB / 0.8856 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001851/0.01915, allocations: 0.7461 MB / 0.8863 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008929/0.02004, allocations: 483.8 kB / 0.8868 GB, free: 12.82 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006867/0.02073, allocations: 394.2 kB / 0.8872 GB, free: 12.41 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.719e-05/0.02076, allocations: 4 kB / 0.8872 GB, free: 12.4 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008262/0.02158, allocations: 455.6 kB / 0.8876 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=44): time 2.946e-06/0.02159, allocations: 0 / 0.8876 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of matching and sorting (n=44): time 0.002407/0.02399, allocations: 1.128 MB / 0.8887 GB, free: 10.69 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001586/0.02415, allocations: 195.9 kB / 0.8889 GB, free: 10.45 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003761/0.02453, allocations: 276.5 kB / 0.8892 GB, free: 10.17 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.67e-05/0.02462, allocations: 45.7 kB / 0.8892 GB, free: 10.12 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001977/0.02481, allocations: 164.8 kB / 0.8894 GB, free: 9.953 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001399/0.02495, allocations: 134.9 kB / 0.8895 GB, free: 9.82 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002814/0.02523, allocations: 142.1 kB / 0.8896 GB, free: 9.676 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002111/0.02545, allocations: 346.8 kB / 0.89 GB, free: 9.328 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009071/0.02635, allocations: 0.5236 MB / 0.8905 GB, free: 8.75 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009965/0.02735, allocations: 0.6065 MB / 0.8911 GB, free: 8.051 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001502/0.02885, allocations: 0.9137 MB / 0.8919 GB, free: 7.023 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.696e-06/0.02886, allocations: 4 kB / 0.892 GB, free: 7.02 MB / 0.8542 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.002298/0.03116, allocations: 1.291 MB / 0.8932 GB, free: 5.613 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002206/0.03138, allocations: 263.2 kB / 0.8935 GB, free: 5.301 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.481e-05/0.0314, allocations: 4 kB / 0.8935 GB, free: 5.297 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.007e-05/0.03143, allocations: 8.281 kB / 0.8935 GB, free: 5.289 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003158/0.03175, allocations: 75.83 kB / 0.8935 GB, free: 5.215 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.376e-05/0.03176, allocations: 7.984 kB / 0.8936 GB, free: 5.207 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008198/0.03258, allocations: 135.6 kB / 0.8937 GB, free: 5.074 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001453/0.03273, allocations: 67.91 kB / 0.8938 GB, free: 5.008 MB / 0.8542 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.0003838/0.03311, allocations: 322.1 kB / 0.8941 GB, free: 4.652 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/0.03322, allocations: 59.77 kB / 0.8941 GB, free: 4.594 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.636e-05/0.03332, allocations: 39.36 kB / 0.8942 GB, free: 4.559 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.03333, allocations: 4 kB / 0.8942 GB, free: 4.555 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.503e-06/0.03333, allocations: 4 kB / 0.8942 GB, free: 4.551 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.03334, allocations: 7.984 kB / 0.8942 GB, free: 4.543 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002436/0.03577, allocations: 1.2 MB / 0.8953 GB, free: 3.246 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.03578, allocations: 4 kB / 0.8953 GB, free: 3.242 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002747/0.03605, allocations: 67.88 kB / 0.8954 GB, free: 3.176 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.03606, allocations: 0 / 0.8954 GB, free: 3.176 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.778e-05/0.03609, allocations: 16 kB / 0.8954 GB, free: 3.16 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.0361, allocations: 0 / 0.8954 GB, free: 3.16 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.0361, allocations: 3.938 kB / 0.8954 GB, free: 3.156 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001532/0.03763, allocations: 0.9233 MB / 0.8963 GB, free: 2.156 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.458e-05/0.0377, allocations: 35.7 kB / 0.8964 GB, free: 2.121 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.107e-05/0.03775, allocations: 12 kB / 0.8964 GB, free: 2.109 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000237/0.03798, allocations: 27.91 kB / 0.8964 GB, free: 2.082 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/0.03809, allocations: 35.94 kB / 0.8964 GB, free: 2.047 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.78e-05/0.03818, allocations: 47.94 kB / 0.8965 GB, free: 2 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002496/0.03843, allocations: 191.1 kB / 0.8967 GB, free: 1.812 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9e-08/0.03843, allocations: 0 / 0.8967 GB, free: 1.812 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0005167/0.03895, allocations: 115.9 kB / 0.8968 GB, free: 1.699 MB / 0.8542 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.0002661/0.03921, allocations: 120.3 kB / 0.8969 GB, free: 1.57 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002453/0.04167, allocations: 1.441 MB / 0.8983 GB, free: 15.93 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.04167, allocations: 0 / 0.8983 GB, free: 15.93 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009425/0.04261, allocations: 0.6184 MB / 0.8989 GB, free: 15.22 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006973/0.04331, allocations: 105.3 kB / 0.899 GB, free: 15.12 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001786/0.0451, allocations: 0.9361 MB / 0.8999 GB, free: 14.12 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002441/0.04534, allocations: 184.3 kB / 0.9001 GB, free: 13.92 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0002563/0.0456, allocations: 95.19 kB / 0.9002 GB, free: 13.82 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.465e-05/0.04569, allocations: 36.5 kB / 0.9002 GB, free: 13.79 MB / 0.8698 GB Notification: Performance of SimCode: time 6.92e-07/0.04569, allocations: 0 / 0.9002 GB, free: 13.79 MB / 0.8698 GB Notification: Performance of Templates: time 0.01511/0.0608, allocations: 7.007 MB / 0.9071 GB, free: 6.91 MB / 0.8698 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.610963311046362]