Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.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.RealExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extSig.u.1.|extSig.u.2.|extSig.u.3.|extSig.u.4.|extSig.u.5.|extSig.y.1.|extSig.y.2.|extSig.y.3.|extSig1.y.1.|extSig1.y.2.|extSig1.y.3.|extSig1.y.4.|extSig1.y.5.|extSig1.y.6.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extSig.u.1.|extSig.u.2.|extSig.u.3.|extSig.u.4.|extSig.u.5.|extSig.y.1.|extSig.y.2.|extSig.y.3.|extSig1.y.1.|extSig1.y.2.|extSig1.y.3.|extSig1.y.4.|extSig1.y.5.|extSig1.y.6.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.654/2.654, 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.002044/0.002043, allocations: 180.9 kB / 491.2 MB, free: 1.559 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.768/1.768, allocations: 221.5 MB / 0.7868 GB, free: 13.32 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.001055/0.001055, allocations: 91.83 kB / 0.9269 GB, free: 13.81 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.772e-05/1.771e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2446/0.2446, allocations: 143 MB / 1.212 GB, free: 39.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8922/1.137, allocations: 150 MB / 1.359 GB, free: 17.56 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001866/1.137, allocations: 69.67 kB / 1.359 GB, free: 17.56 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01406/1.151, allocations: 4.847 MB / 1.364 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.814e-06/1.151, allocations: 3.938 kB / 1.364 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.886e-05/1.151, allocations: 3.906 kB / 1.364 GB, free: 32.97 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0006913/1.152, allocations: 0.5569 MB / 1.364 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/1.152, allocations: 7.312 kB / 1.364 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.617e-05/1.152, allocations: 27.25 kB / 1.364 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004056/1.153, allocations: 288.5 kB / 1.364 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.014e-05/1.153, allocations: 5.516 kB / 1.364 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.72e-05/1.153, allocations: 15.47 kB / 1.364 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001636/1.153, allocations: 75.88 kB / 1.365 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002175/1.153, allocations: 168 kB / 1.365 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/1.153, allocations: 0 / 1.365 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.901e-05/1.153, allocations: 3.844 kB / 1.365 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.239e-06/1.153, allocations: 0 / 1.365 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001061/1.154, allocations: 0.9464 MB / 1.366 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001261/1.154, allocations: 126.3 kB / 1.366 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.487e-05/1.154, allocations: 54.53 kB / 1.366 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.754e-05/1.154, allocations: 4 kB / 1.366 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000165/1.155, allocations: 143.9 kB / 1.366 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=11): time 1.492e-06/1.155, allocations: 3.875 kB / 1.366 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11): time 0.0002908/1.155, allocations: 142.8 kB / 1.366 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.161e-05/1.155, allocations: 154.2 kB / 1.366 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001814/1.155, allocations: 193.1 kB / 1.366 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.855e-05/1.155, allocations: 29.67 kB / 1.366 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/1.155, allocations: 152.9 kB / 1.367 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.774e-05/1.155, allocations: 29.84 kB / 1.367 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.418e-05/1.155, allocations: 3.844 kB / 1.367 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.869e-05/1.155, allocations: 343.4 kB / 1.367 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001357/1.156, allocations: 74.62 kB / 1.367 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001656/1.156, allocations: 165 kB / 1.367 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003178/1.156, allocations: 102.8 kB / 1.367 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/1.156, allocations: 3.844 kB / 1.367 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005561/1.157, allocations: 277 kB / 1.368 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.829e-05/1.157, allocations: 75.53 kB / 1.368 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/1.157, allocations: 3.844 kB / 1.368 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.272e-05/1.157, allocations: 3.844 kB / 1.368 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001939/1.157, allocations: 35.25 kB / 1.368 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/1.157, allocations: 4.031 kB / 1.368 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004849/1.157, allocations: 104.9 kB / 1.368 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.383e-05/1.157, allocations: 14.06 kB / 1.368 GB, free: 30.28 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: 8 ($whenCondition3,$whenCondition4,$PRE.pul.booPul.y,pul.booPul.y,$whenCondition1,$whenCondition2,$PRE.pul1.booPul.y,pul1.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 2 * 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.0001222/1.158, allocations: 127.2 kB / 1.368 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.702e-05/1.158, allocations: 19.44 kB / 1.368 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.252e-05/1.158, allocations: 23.3 kB / 1.368 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/1.158, allocations: 4 kB / 1.368 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/1.158, allocations: 3.812 kB / 1.368 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/1.158, allocations: 0 / 1.368 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001673/1.158, allocations: 232.2 kB / 1.368 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/1.158, allocations: 0 / 1.368 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001557/1.158, allocations: 39.7 kB / 1.368 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/1.158, allocations: 0 / 1.368 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/1.158, allocations: 7.938 kB / 1.368 GB, free: 29.97 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/1.158, allocations: 0 / 1.368 GB, free: 29.97 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/1.158, allocations: 7.875 kB / 1.368 GB, free: 29.97 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000194/1.158, allocations: 221.6 kB / 1.368 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.293e-05/1.158, allocations: 92.58 kB / 1.369 GB, free: 29.69 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.657e-05/1.158, allocations: 3.875 kB / 1.369 GB, free: 29.69 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001543/1.159, allocations: 39.2 kB / 1.369 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.409e-05/1.159, allocations: 13.38 kB / 1.369 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/1.159, allocations: 11.22 kB / 1.369 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001051/1.159, allocations: 153.5 kB / 1.369 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.8e-07/1.159, allocations: 0 / 1.369 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003012/1.159, allocations: 56.75 kB / 1.369 GB, free: 29.59 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00016/1.159, allocations: 124 kB / 1.369 GB, free: 29.5 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003257/1.16, allocations: 290.3 kB / 1.369 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/1.16, allocations: 0 / 1.369 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.817e-05/1.16, allocations: 52.2 kB / 1.369 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002973/1.16, allocations: 39.62 kB / 1.369 GB, free: 29.35 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004341/1.16, allocations: 258.9 kB / 1.37 GB, free: 29.2 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002628/1.161, allocations: 0.7537 MB / 1.37 GB, free: 28.5 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 9.226e-05/1.161, allocations: 25.31 kB / 1.37 GB, free: 28.5 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.763e-05/1.161, allocations: 15.12 kB / 1.37 GB, free: 28.5 MB / 0.8386 GB Notification: Performance of SimCode: time 3.4e-07/1.161, allocations: 0 / 1.37 GB, free: 28.5 MB / 0.8386 GB Notification: Performance of Templates: time 0.005358/1.166, allocations: 2.967 MB / 1.373 GB, free: 28.27 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches