Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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.u.5.|extIndSig.y|extIndSig1.y",fileNamePrefix="Buildings_9_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.u.5.|extIndSig.y|extIndSig1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.494/2.494, allocations: 387.4 MB / 394.9 MB, free: 13.4 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.00108/0.00108, allocations: 180.8 kB / 487.4 MB, free: 5.031 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.531/1.531, allocations: 221.5 MB / 0.7824 GB, free: 0.9609 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001043/0.001044, allocations: 98.5 kB / 0.9219 GB, free: 2.188 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.791e-05/1.795e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3134/0.3134, allocations: 142.4 MB / 1.206 GB, free: 43.93 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.046/1.36, allocations: 149.3 MB / 1.352 GB, free: 18.4 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002781/1.36, allocations: 77.53 kB / 1.352 GB, free: 18.4 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01564/1.376, allocations: 4.806 MB / 1.357 GB, free: 33.84 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.795e-06/1.376, allocations: 6.922 kB / 1.357 GB, free: 33.84 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.667e-05/1.376, allocations: 7.875 kB / 1.357 GB, free: 33.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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.001284/1.377, allocations: 0.571 MB / 1.357 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.674e-05/1.377, allocations: 15.44 kB / 1.357 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002498/1.378, allocations: 31.09 kB / 1.357 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006867/1.378, allocations: 280.8 kB / 1.357 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.145e-05/1.378, allocations: 10.73 kB / 1.357 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001056/1.378, allocations: 22.38 kB / 1.357 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003961/1.379, allocations: 150.3 kB / 1.358 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003889/1.379, allocations: 182.7 kB / 1.358 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/1.379, allocations: 0 / 1.358 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.876e-05/1.379, allocations: 6.641 kB / 1.358 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/1.379, allocations: 3.875 kB / 1.358 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001785/1.381, allocations: 0.7322 MB / 1.358 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002714/1.381, allocations: 161 kB / 1.359 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001472/1.382, allocations: 107.8 kB / 1.359 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.658e-05/1.382, allocations: 8.062 kB / 1.359 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003421/1.382, allocations: 200.3 kB / 1.359 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=27): time 2.946e-06/1.382, allocations: 0 / 1.359 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of matching and sorting (n=27): time 0.0006364/1.383, allocations: 328 kB / 1.359 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.449e-05/1.383, allocations: 55.22 kB / 1.359 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002546/1.383, allocations: 184 kB / 1.359 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.22e-05/1.383, allocations: 33.36 kB / 1.359 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000137/1.383, allocations: 139.8 kB / 1.36 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.84e-05/1.383, allocations: 64.44 kB / 1.36 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.579e-05/1.383, allocations: 7.562 kB / 1.36 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001836/1.384, allocations: 328.3 kB / 1.36 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002607/1.384, allocations: 133.2 kB / 1.36 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002641/1.384, allocations: 174.3 kB / 1.36 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004859/1.385, allocations: 147 kB / 1.36 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.895e-06/1.385, allocations: 3.953 kB / 1.36 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0009018/1.386, allocations: 393.7 kB / 1.361 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.465e-05/1.386, allocations: 77.94 kB / 1.361 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.729e-06/1.386, allocations: 1.219 kB / 1.361 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.415e-05/1.386, allocations: 3.844 kB / 1.361 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003162/1.386, allocations: 62.78 kB / 1.361 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.574e-05/1.386, allocations: 0 / 1.361 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005089/1.386, allocations: 111.1 kB / 1.361 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.911e-05/1.387, allocations: 16.45 kB / 1.361 GB, free: 31.82 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition4,$whenCondition5,$whenCondition2,$whenCondition3,$whenCondition6,$whenCondition1,$PRE.extIndSig.index,extIndSig.index,extIndSig.k[1],extIndSig.k[2],extIndSig.k[3],extIndSig.k[4],extIndSig.k[5],$PRE.pul.booPul.y,pul.booPul.y,$PRE.pul1.booPul.y,pul1.booPul.y,$PRE.extIndSig1.index,extIndSig1.index,extIndSig1.k[1],extIndSig1.k[2],extIndSig1.k[3],extIndSig1.k[4],extIndSig1.k[5]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * 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.0001538/1.387, allocations: 133.4 kB / 1.361 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.166e-05/1.387, allocations: 27.05 kB / 1.361 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.466e-05/1.387, allocations: 24.02 kB / 1.361 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/1.387, allocations: 7.875 kB / 1.361 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/1.387, allocations: 0 / 1.361 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/1.387, allocations: 5.641 kB / 1.361 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007492/1.388, allocations: 0.6665 MB / 1.362 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/1.388, allocations: 0 / 1.362 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002186/1.388, allocations: 50.22 kB / 1.362 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/1.388, allocations: 3.75 kB / 1.362 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.291e-05/1.388, allocations: 5.547 kB / 1.362 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/1.388, allocations: 3.875 kB / 1.362 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/1.388, allocations: 0 / 1.362 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004648/1.388, allocations: 412.9 kB / 1.362 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.362e-05/1.388, allocations: 102.4 kB / 1.362 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.651e-05/1.389, allocations: 5.375 kB / 1.362 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002227/1.389, allocations: 34.16 kB / 1.363 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.204e-05/1.389, allocations: 30.39 kB / 1.363 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.637e-05/1.389, allocations: 12.52 kB / 1.363 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001182/1.389, allocations: 142.8 kB / 1.363 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.389, allocations: 0 / 1.363 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003995/1.389, allocations: 67.17 kB / 1.363 GB, free: 31.02 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: 20 ($whenCondition6,$whenCondition4,$whenCondition5,$whenCondition2,$whenCondition3,$whenCondition1,extIndSig.index,extIndSig.k[1],extIndSig.k[2],extIndSig.k[3],extIndSig.k[4],extIndSig.k[5],pul.booPul.y,pul1.booPul.y,extIndSig1.index,extIndSig1.k[1],extIndSig1.k[2],extIndSig1.k[3],extIndSig1.k[4],extIndSig1.k[5]) * Number of discrete states: 2 (extIndSig.index,extIndSig1.index) * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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.0002282/1.39, allocations: 122.5 kB / 1.363 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0005512/1.39, allocations: 447.9 kB / 1.363 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/1.39, allocations: 3.938 kB / 1.363 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001793/1.39, allocations: 136.7 kB / 1.363 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003634/1.391, allocations: 41.92 kB / 1.363 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00073/1.392, allocations: 343 kB / 1.364 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003349/1.392, allocations: 0.7572 MB / 1.365 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.000142/1.392, allocations: 32.38 kB / 1.365 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.426e-05/1.392, allocations: 22.22 kB / 1.365 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of SimCode: time 4.01e-07/1.392, allocations: 0 / 1.365 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of Templates: time 0.007475/1.4, allocations: 3.483 MB / 1.368 GB, free: 29.69 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches