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.0009735/0.0009735, allocations: 93.06 kB / 19.65 MB, free: 280 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.001029/0.001029, allocations: 169 kB / 23.02 MB, free: 1.547 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 0.9092/0.9092, allocations: 177.1 MB / 203.4 MB, free: 5.609 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.054/2.054, allocations: 429.5 MB / 0.6733 GB, free: 4.023 MB / 0.6355 GB " [Timeout remaining time 177] 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.[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 2.455e-06/2.455e-06, allocations: 0 / 0.8782 GB, free: 6.281 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.918e-05/3.164e-05, allocations: 6.219 kB / 0.8782 GB, free: 6.277 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002053/0.002084, allocations: 1.308 MB / 0.8795 GB, free: 4.996 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001792/0.003876, allocations: 1.611 MB / 0.881 GB, free: 3.371 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001397/0.004016, allocations: 7.938 kB / 0.881 GB, free: 3.363 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001346/0.004151, allocations: 27.61 kB / 0.8811 GB, free: 3.336 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001347/0.004285, allocations: 89.38 kB / 0.8812 GB, free: 3.25 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009497/0.005235, allocations: 500 kB / 0.8816 GB, free: 2.762 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0006805/0.005915, allocations: 0.6516 MB / 0.8823 GB, free: 2.113 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002568/0.006172, allocations: 109.3 kB / 0.8824 GB, free: 2 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004522/0.006624, allocations: 395.3 kB / 0.8827 GB, free: 1.613 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002605/0.006885, allocations: 179.5 kB / 0.8829 GB, free: 1.438 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 7.168e-05/0.006957, allocations: 48 kB / 0.883 GB, free: 1.391 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001078/0.007064, allocations: 64.61 kB / 0.883 GB, free: 1.328 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 7.804e-05/0.007142, allocations: 72.3 kB / 0.8831 GB, free: 1.258 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001704/0.007313, allocations: 167.6 kB / 0.8833 GB, free: 1.094 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004544/0.007767, allocations: 435.3 kB / 0.8837 GB, free: 0.668 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.007771, allocations: 0 / 0.8837 GB, free: 0.668 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.402e-06/0.007773, allocations: 0.9375 kB / 0.8837 GB, free: 0.668 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.335e-06/0.007781, allocations: 0 / 0.8837 GB, free: 0.668 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.0009422/0.008723, allocations: 0.9491 MB / 0.8846 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.008764, allocations: 8.031 kB / 0.8846 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001212/0.008886, allocations: 73.61 kB / 0.8847 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003396/0.009225, allocations: 303.1 kB / 0.885 GB, free: 15.22 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.4e-05/0.009259, allocations: 25.69 kB / 0.885 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.835e-05/0.009308, allocations: 40.38 kB / 0.885 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004234/0.009731, allocations: 401.7 kB / 0.8854 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.009741, allocations: 192 / 0.8854 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.135e-05/0.009762, allocations: 16.36 kB / 0.8854 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.009772, allocations: 8.375 kB / 0.8854 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002108/0.009983, allocations: 267.4 kB / 0.8857 GB, free: 14.42 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009518/0.01093, allocations: 0.7744 MB / 0.8864 GB, free: 13.61 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002909/0.01123, allocations: 328.1 kB / 0.8868 GB, free: 13.24 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002024/0.01143, allocations: 294.1 kB / 0.887 GB, free: 12.92 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.329e-05/0.01144, allocations: 4 kB / 0.887 GB, free: 12.92 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002826/0.01172, allocations: 365.2 kB / 0.8874 GB, free: 12.52 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=44): time 2.084e-06/0.01173, allocations: 4 kB / 0.8874 GB, free: 12.51 MB / 0.8542 GB Notification: Performance of matching and sorting (n=44): time 0.0007286/0.01245, allocations: 0.8782 MB / 0.8883 GB, free: 11.54 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.368e-05/0.01254, allocations: 203.8 kB / 0.8884 GB, free: 11.29 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002123/0.01275, allocations: 318.3 kB / 0.8887 GB, free: 10.96 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.491e-05/0.0128, allocations: 41.7 kB / 0.8888 GB, free: 10.92 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/0.01291, allocations: 215.6 kB / 0.889 GB, free: 10.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 7.894e-05/0.01299, allocations: 138.9 kB / 0.8891 GB, free: 10.57 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001505/0.01314, allocations: 139.8 kB / 0.8893 GB, free: 10.42 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.0133, allocations: 0.5196 MB / 0.8898 GB, free: 9.891 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00034/0.01364, allocations: 436.2 kB / 0.8902 GB, free: 9.41 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003562/0.014, allocations: 0.5482 MB / 0.8907 GB, free: 8.758 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004966/0.01449, allocations: 0.7501 MB / 0.8915 GB, free: 7.883 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.0145, allocations: 15.88 kB / 0.8915 GB, free: 7.867 MB / 0.8542 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008321/0.01533, allocations: 1.092 MB / 0.8925 GB, free: 6.656 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001127/0.01544, allocations: 275.3 kB / 0.8928 GB, free: 6.332 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.01545, allocations: 3.938 kB / 0.8928 GB, free: 6.328 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.01547, allocations: 7.984 kB / 0.8928 GB, free: 6.32 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001612/0.01563, allocations: 60.19 kB / 0.8929 GB, free: 6.262 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.01564, allocations: 11.94 kB / 0.8929 GB, free: 6.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002805/0.01592, allocations: 107.7 kB / 0.893 GB, free: 6.145 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.081e-05/0.01599, allocations: 63.92 kB / 0.893 GB, free: 6.082 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.0001892/0.01618, allocations: 342.5 kB / 0.8934 GB, free: 5.707 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.999e-05/0.01623, allocations: 55.77 kB / 0.8934 GB, free: 5.652 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.043e-05/0.01628, allocations: 43.36 kB / 0.8935 GB, free: 5.609 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.01629, allocations: 8 kB / 0.8935 GB, free: 5.602 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.0163, allocations: 0 / 0.8935 GB, free: 5.602 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.0163, allocations: 0 / 0.8935 GB, free: 5.602 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008999/0.0172, allocations: 1.094 MB / 0.8945 GB, free: 4.406 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.0172, allocations: 0 / 0.8945 GB, free: 4.406 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001219/0.01732, allocations: 63.89 kB / 0.8946 GB, free: 4.344 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.01733, allocations: 0 / 0.8946 GB, free: 4.344 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.991e-05/0.01735, allocations: 12 kB / 0.8946 GB, free: 4.332 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.01735, allocations: 0 / 0.8946 GB, free: 4.332 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.01735, allocations: 0 / 0.8946 GB, free: 4.332 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005072/0.01786, allocations: 0.8067 MB / 0.8954 GB, free: 3.445 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.137e-05/0.01789, allocations: 35.73 kB / 0.8954 GB, free: 3.41 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.993e-05/0.01792, allocations: 8 kB / 0.8954 GB, free: 3.402 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.309e-05/0.01801, allocations: 23.98 kB / 0.8955 GB, free: 3.379 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.476e-05/0.01809, allocations: 39.94 kB / 0.8955 GB, free: 3.34 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.36e-05/0.01813, allocations: 51.88 kB / 0.8955 GB, free: 3.289 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001281/0.01826, allocations: 211 kB / 0.8957 GB, free: 3.082 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01826, allocations: 0 / 0.8957 GB, free: 3.082 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003086/0.01857, allocations: 111.9 kB / 0.8959 GB, free: 2.973 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.0001609/0.01873, allocations: 116.3 kB / 0.896 GB, free: 2.852 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0008001/0.01953, allocations: 1.289 MB / 0.8972 GB, free: 1.363 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.01953, allocations: 0 / 0.8972 GB, free: 1.363 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003044/0.01984, allocations: 0.5599 MB / 0.8978 GB, free: 0.707 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003464/0.02018, allocations: 109.5 kB / 0.8979 GB, free: 0.6016 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009382/0.02112, allocations: 0.8468 MB / 0.8987 GB, free: 15.69 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.68e-05/0.0212, allocations: 113.1 kB / 0.8988 GB, free: 15.56 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.000162/0.02136, allocations: 83.19 kB / 0.8989 GB, free: 15.48 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.014e-05/0.02142, allocations: 32.5 kB / 0.8989 GB, free: 15.45 MB / 0.8698 GB Notification: Performance of SimCode: time 1.442e-06/0.02142, allocations: 0 / 0.8989 GB, free: 15.45 MB / 0.8698 GB Notification: Performance of Templates: time 0.01018/0.0316, allocations: 7.471 MB / 0.9062 GB, free: 8.102 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=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.440911939833313]