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/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.254/2.254, allocations: 390.5 MB / 398 MB, free: 10.93 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 176.8 kB / 491.2 MB, free: 1.547 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.753/1.753, allocations: 221.5 MB / 0.7868 GB, free: 13.33 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 99.16 kB / 0.9269 GB, free: 13.83 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.537e-05/1.539e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3273/0.3273, allocations: 143 MB / 1.212 GB, free: 39.51 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9917/1.319, allocations: 150.4 MB / 1.359 GB, free: 17.6 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001958/1.319, allocations: 72.33 kB / 1.359 GB, free: 17.6 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02126/1.341, allocations: 7.987 MB / 1.367 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.313e-06/1.341, allocations: 3.938 kB / 1.367 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.762e-05/1.341, allocations: 7.75 kB / 1.367 GB, free: 32.83 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.0008501/1.342, allocations: 0.6967 MB / 1.368 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/1.342, allocations: 11.69 kB / 1.368 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001179/1.342, allocations: 46.44 kB / 1.368 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005257/1.342, allocations: 367.5 kB / 1.368 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.594e-05/1.342, allocations: 7.719 kB / 1.368 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.913e-05/1.342, allocations: 30.12 kB / 1.368 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002963/1.343, allocations: 192.7 kB / 1.368 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003711/1.343, allocations: 264.8 kB / 1.369 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/1.343, allocations: 7.938 kB / 1.369 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.472e-05/1.343, allocations: 0 / 1.369 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/1.343, allocations: 7.688 kB / 1.369 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001273/1.344, allocations: 0.9884 MB / 1.37 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003278/1.345, allocations: 330.4 kB / 1.37 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003307/1.345, allocations: 363.7 kB / 1.37 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.705e-05/1.345, allocations: 4.438 kB / 1.37 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003436/1.345, allocations: 342.8 kB / 1.371 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=44): time 1.613e-06/1.345, allocations: 0 / 1.371 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of matching and sorting (n=44): time 0.0005402/1.346, allocations: 464.1 kB / 1.371 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.257e-05/1.346, allocations: 138.6 kB / 1.371 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002007/1.346, allocations: 242.3 kB / 1.371 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.301e-05/1.346, allocations: 36.98 kB / 1.371 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/1.346, allocations: 161.4 kB / 1.372 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.737e-05/1.346, allocations: 119.3 kB / 1.372 GB, free: 31 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.246e-05/1.347, allocations: 3.844 kB / 1.372 GB, free: 31 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.183e-05/1.347, allocations: 357.7 kB / 1.372 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003215/1.347, allocations: 254.3 kB / 1.372 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003359/1.347, allocations: 343.8 kB / 1.373 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006218/1.348, allocations: 303.6 kB / 1.373 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/1.348, allocations: 0 / 1.373 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.00117/1.349, allocations: 0.7218 MB / 1.374 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.744e-05/1.349, allocations: 140.2 kB / 1.374 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/1.349, allocations: 3.719 kB / 1.374 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/1.349, allocations: 7.906 kB / 1.374 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003041/1.35, allocations: 88.09 kB / 1.374 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/1.35, allocations: 6.484 kB / 1.374 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007094/1.35, allocations: 189.4 kB / 1.374 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.426e-05/1.35, allocations: 82.56 kB / 1.374 GB, free: 30.33 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,extIndSig3.index,extIndSig4.index,$PRE.pul.booPul.y,pul.booPul.y,$PRE.pul1.booPul.y,pul1.booPul.y,$PRE.intPul.booPul.y,intPul.booPul.y,$PRE.intPul1.booPul.y,intPul1.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001274/1.35, allocations: 133 kB / 1.374 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.954e-05/1.351, allocations: 38.5 kB / 1.374 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005604/1.351, allocations: 0.4942 MB / 1.375 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/1.351, allocations: 10.27 kB / 1.375 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/1.351, allocations: 0 / 1.375 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/1.351, allocations: 6.484 kB / 1.375 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007479/1.352, allocations: 0.8889 MB / 1.376 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/1.352, allocations: 0 / 1.376 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002879/1.352, allocations: 94.77 kB / 1.376 GB, free: 29.81 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/1.352, allocations: 3.906 kB / 1.376 GB, free: 29.81 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.997e-05/1.352, allocations: 6.5 kB / 1.376 GB, free: 29.81 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/1.352, allocations: 3.969 kB / 1.376 GB, free: 29.81 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/1.352, allocations: 0 / 1.376 GB, free: 29.81 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004773/1.353, allocations: 0.5499 MB / 1.376 GB, free: 29.65 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.088e-05/1.353, allocations: 122.2 kB / 1.376 GB, free: 29.53 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.329e-05/1.353, allocations: 3.844 kB / 1.376 GB, free: 29.53 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002522/1.353, allocations: 32.48 kB / 1.376 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.011e-05/1.353, allocations: 35.09 kB / 1.376 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.366e-05/1.353, allocations: 17.7 kB / 1.376 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.000143/1.353, allocations: 197 kB / 1.377 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.91e-07/1.353, allocations: 0 / 1.377 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003709/1.354, allocations: 100.5 kB / 1.377 GB, free: 29.44 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 18 ($cse1,$cse2,$cse3,$cse4,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,extIndSig3.index,extIndSig4.index,pul.booPul.y,pul1.booPul.y,intPul.booPul.y,intPul1.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001443/1.354, allocations: 127.4 kB / 1.377 GB, free: 29.33 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0007417/1.355, allocations: 0.7927 MB / 1.378 GB, free: 29.07 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/1.355, allocations: 0 / 1.378 GB, free: 29.07 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002216/1.355, allocations: 230.6 kB / 1.378 GB, free: 29.06 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000438/1.355, allocations: 70 kB / 1.378 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000834/1.356, allocations: 0.6142 MB / 1.379 GB, free: 28.88 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003148/1.356, allocations: 0.8188 MB / 1.379 GB, free: 28.17 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002246/1.357, allocations: 124.3 kB / 1.379 GB, free: 28.16 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.234e-05/1.357, allocations: 45.25 kB / 1.379 GB, free: 28.14 MB / 0.8386 GB Notification: Performance of SimCode: time 4.71e-07/1.357, allocations: 0 / 1.379 GB, free: 28.14 MB / 0.8386 GB Notification: Performance of Templates: time 0.008005/1.365, allocations: 5.533 MB / 1.385 GB, free: 26.83 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) 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","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches