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.191/2.191, allocations: 390.3 MB / 402.8 MB, free: 6.707 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.001065/0.001065, allocations: 180.1 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.615/1.615, allocations: 221.3 MB / 0.7915 GB, free: 5.391 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.001148/0.001148, allocations: 83.95 kB / 0.9317 GB, free: 5.707 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.51e-05/3.512e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.332/0.332, allocations: 143 MB / 1.219 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8785/1.211, allocations: 151 MB / 1.366 GB, free: 3.016 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002224/1.211, allocations: 72.64 kB / 1.366 GB, free: 2.977 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02326/1.234, allocations: 8.028 MB / 1.374 GB, free: 12.04 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.773e-06/1.234, allocations: 0 / 1.374 GB, free: 12.04 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.899e-05/1.234, allocations: 8 kB / 1.374 GB, free: 12.04 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.00088/1.235, allocations: 0.7037 MB / 1.375 GB, free: 11.3 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/1.235, allocations: 15.97 kB / 1.375 GB, free: 11.28 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001074/1.235, allocations: 47.53 kB / 1.375 GB, free: 11.23 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005405/1.236, allocations: 355.4 kB / 1.375 GB, free: 10.89 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.539e-05/1.236, allocations: 29.5 kB / 1.375 GB, free: 10.88 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.826e-05/1.236, allocations: 38.44 kB / 1.375 GB, free: 10.84 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004526/1.236, allocations: 299.7 kB / 1.376 GB, free: 10.62 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/1.236, allocations: 4 kB / 1.376 GB, free: 10.62 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.82e-05/1.236, allocations: 13.56 kB / 1.376 GB, free: 10.61 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/1.236, allocations: 7.938 kB / 1.376 GB, free: 10.61 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003067/1.237, allocations: 201.4 kB / 1.376 GB, free: 10.46 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001538/1.238, allocations: 1.049 MB / 1.377 GB, free: 9.59 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004455/1.239, allocations: 358 kB / 1.377 GB, free: 9.324 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000407/1.239, allocations: 373.4 kB / 1.378 GB, free: 9.07 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/1.239, allocations: 11.97 kB / 1.378 GB, free: 9.059 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004363/1.24, allocations: 360.9 kB / 1.378 GB, free: 8.75 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=44): time 1.643e-06/1.24, allocations: 4 kB / 1.378 GB, free: 8.746 MB / 0.8386 GB Notification: Performance of matching and sorting (n=44): time 0.0007069/1.24, allocations: 488.2 kB / 1.378 GB, free: 8.367 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.155e-05/1.241, allocations: 144.4 kB / 1.379 GB, free: 8.195 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002672/1.241, allocations: 268.3 kB / 1.379 GB, free: 7.98 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.472e-05/1.241, allocations: 44.58 kB / 1.379 GB, free: 7.938 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/1.241, allocations: 162.8 kB / 1.379 GB, free: 7.812 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 9.931e-05/1.241, allocations: 131.1 kB / 1.379 GB, free: 7.703 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.303e-05/1.241, allocations: 14.44 kB / 1.379 GB, free: 7.695 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001259/1.241, allocations: 346.2 kB / 1.379 GB, free: 7.363 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000423/1.242, allocations: 268.2 kB / 1.38 GB, free: 7.188 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000489/1.242, allocations: 364.8 kB / 1.38 GB, free: 6.887 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004726/1.243, allocations: 402.7 kB / 1.38 GB, free: 6.551 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/1.243, allocations: 4 kB / 1.38 GB, free: 6.547 MB / 0.8386 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001174/1.244, allocations: 0.8502 MB / 1.381 GB, free: 5.852 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.381e-05/1.244, allocations: 137.1 kB / 1.381 GB, free: 5.703 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/1.244, allocations: 0 / 1.381 GB, free: 5.703 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/1.244, allocations: 4 kB / 1.381 GB, free: 5.699 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003505/1.244, allocations: 94.69 kB / 1.381 GB, free: 5.613 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/1.244, allocations: 4 kB / 1.381 GB, free: 5.609 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008019/1.245, allocations: 202.4 kB / 1.382 GB, free: 5.418 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001147/1.245, allocations: 71.34 kB / 1.382 GB, free: 5.352 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.0001346/1.245, allocations: 142.3 kB / 1.382 GB, free: 5.219 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.761e-05/1.246, allocations: 35.53 kB / 1.382 GB, free: 5.184 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007249/1.246, allocations: 0.5366 MB / 1.382 GB, free: 4.777 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/1.246, allocations: 8 kB / 1.382 GB, free: 4.77 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/1.246, allocations: 0 / 1.382 GB, free: 4.77 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/1.246, allocations: 3.984 kB / 1.382 GB, free: 4.766 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00106/1.247, allocations: 0.9797 MB / 1.383 GB, free: 3.914 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/1.247, allocations: 0 / 1.383 GB, free: 3.914 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003231/1.248, allocations: 91.38 kB / 1.383 GB, free: 3.828 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.658e-06/1.248, allocations: 4 kB / 1.384 GB, free: 3.824 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.491e-05/1.248, allocations: 18.8 kB / 1.384 GB, free: 3.812 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/1.248, allocations: 4 kB / 1.384 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/1.248, allocations: 0 / 1.384 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000653/1.248, allocations: 0.5849 MB / 1.384 GB, free: 3.316 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.689e-05/1.249, allocations: 116.5 kB / 1.384 GB, free: 3.184 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.541e-05/1.249, allocations: 11.48 kB / 1.384 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002572/1.249, allocations: 43.66 kB / 1.384 GB, free: 3.145 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.731e-05/1.249, allocations: 32.2 kB / 1.384 GB, free: 3.117 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.727e-05/1.249, allocations: 19.8 kB / 1.384 GB, free: 3.102 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001905/1.249, allocations: 222.2 kB / 1.385 GB, free: 2.926 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.51e-07/1.249, allocations: 0 / 1.385 GB, free: 2.926 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004012/1.25, allocations: 113.6 kB / 1.385 GB, free: 2.828 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.0001653/1.25, allocations: 136 kB / 1.385 GB, free: 2.691 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001013/1.251, allocations: 0.8238 MB / 1.386 GB, free: 2.02 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/1.251, allocations: 0 / 1.386 GB, free: 2.02 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003022/1.251, allocations: 248.6 kB / 1.386 GB, free: 1.836 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004379/1.252, allocations: 74.45 kB / 1.386 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001/1.253, allocations: 0.644 MB / 1.387 GB, free: 1.223 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003564/1.253, allocations: 0.8125 MB / 1.387 GB, free: 400 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002649/1.253, allocations: 127.2 kB / 1.387 GB, free: 276 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.45e-05/1.253, allocations: 38.92 kB / 1.387 GB, free: 240 kB / 0.8386 GB Notification: Performance of SimCode: time 3.3e-07/1.253, allocations: 4 kB / 1.387 GB, free: 236 kB / 0.8386 GB Notification: Performance of Templates: time 0.01016/1.263, allocations: 6.066 MB / 1.393 GB, free: 10.24 MB / 0.8542 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