Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_10_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_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 114.7 kB / 16.42 MB, free: 6.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001483/0.001483, allocations: 190 kB / 17.35 MB, free: 5.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.621/2.621, allocations: 437 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 67.89 kB / 1.019 GB, free: 9.43 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.073/1.075, allocations: 151.6 MB / 1.167 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.003171/1.078, allocations: 1.344 MB / 1.169 GB, free: 2.5 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002725/1.081, allocations: 1.549 MB / 1.17 GB, free: 0.9336 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002747/1.081, allocations: 7.938 kB / 1.17 GB, free: 0.9258 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0002133/1.081, allocations: 27.61 kB / 1.17 GB, free: 0.8984 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002931/1.081, allocations: 83.38 kB / 1.17 GB, free: 0.8164 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001381/1.083, allocations: 0.4954 MB / 1.171 GB, free: 340 kB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0009339/1.084, allocations: 0.6833 MB / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003512/1.084, allocations: 164.3 kB / 1.172 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004201/1.085, allocations: 255.3 kB / 1.172 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004689/1.085, allocations: 243.2 kB / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001925/1.085, allocations: 68 kB / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002235/1.085, allocations: 75.98 kB / 1.172 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001226/1.086, allocations: 87.64 kB / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003698/1.086, allocations: 243 kB / 1.172 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0008629/1.087, allocations: 0.6915 MB / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/1.087, allocations: 0 / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.703e-06/1.087, allocations: 0 / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.822e-05/1.087, allocations: 0 / 1.173 GB, free: 13.84 MB / 0.9044 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.001623/1.088, allocations: 0.9504 MB / 1.174 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/1.089, allocations: 8.922 kB / 1.174 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001694/1.089, allocations: 48.47 kB / 1.174 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001385/1.09, allocations: 471.9 kB / 1.175 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.98e-05/1.09, allocations: 28.88 kB / 1.175 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.623e-05/1.09, allocations: 40.38 kB / 1.175 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006696/1.091, allocations: 321.3 kB / 1.175 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/1.091, allocations: 3.938 kB / 1.175 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.145e-05/1.091, allocations: 15.98 kB / 1.175 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.218e-06/1.091, allocations: 8 kB / 1.175 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006502/1.092, allocations: 250.1 kB / 1.175 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001798/1.093, allocations: 0.9043 MB / 1.176 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006638/1.094, allocations: 385 kB / 1.176 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005055/1.095, allocations: 284.7 kB / 1.177 GB, free: 9.957 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.586e-05/1.095, allocations: 4 kB / 1.177 GB, free: 9.953 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005871/1.095, allocations: 331 kB / 1.177 GB, free: 9.617 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=44): time 2.595e-06/1.095, allocations: 0 / 1.177 GB, free: 9.617 MB / 0.9044 GB Notification: Performance of matching and sorting (n=44): time 0.001592/1.097, allocations: 0.8304 MB / 1.178 GB, free: 8.75 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001204/1.097, allocations: 191.9 kB / 1.178 GB, free: 8.52 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003117/1.097, allocations: 296.3 kB / 1.178 GB, free: 8.227 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 7.022e-05/1.097, allocations: 45.7 kB / 1.178 GB, free: 8.176 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001568/1.098, allocations: 164.8 kB / 1.179 GB, free: 8.008 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001187/1.098, allocations: 130.2 kB / 1.179 GB, free: 7.879 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002266/1.098, allocations: 130.1 kB / 1.179 GB, free: 7.746 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001566/1.098, allocations: 350.8 kB / 1.179 GB, free: 7.395 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006289/1.099, allocations: 268.8 kB / 1.179 GB, free: 7.133 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006639/1.099, allocations: 365.8 kB / 1.18 GB, free: 6.738 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001225/1.101, allocations: 0.9129 MB / 1.181 GB, free: 5.711 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/1.101, allocations: 0 / 1.181 GB, free: 5.711 MB / 0.9044 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001673/1.102, allocations: 1.001 MB / 1.182 GB, free: 4.648 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001471/1.103, allocations: 254.3 kB / 1.182 GB, free: 4.348 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/1.103, allocations: 11.92 kB / 1.182 GB, free: 4.336 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/1.103, allocations: 4 kB / 1.182 GB, free: 4.332 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002822/1.103, allocations: 67.89 kB / 1.182 GB, free: 4.266 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/1.103, allocations: 4 kB / 1.182 GB, free: 4.262 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000751/1.104, allocations: 143.6 kB / 1.182 GB, free: 4.121 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001147/1.104, allocations: 75.86 kB / 1.182 GB, free: 4.047 MB / 0.9044 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.0003095/1.104, allocations: 315.8 kB / 1.182 GB, free: 3.699 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.799e-05/1.104, allocations: 35.62 kB / 1.182 GB, free: 3.664 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.788e-05/1.104, allocations: 39.48 kB / 1.183 GB, free: 3.621 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.794e-06/1.104, allocations: 3.984 kB / 1.183 GB, free: 3.617 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/1.104, allocations: 0 / 1.183 GB, free: 3.617 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.903e-05/1.104, allocations: 116.5 kB / 1.183 GB, free: 3.484 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.163e-05/1.104, allocations: 16 kB / 1.183 GB, free: 3.469 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001935/1.105, allocations: 31.97 kB / 1.183 GB, free: 3.438 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.584e-05/1.105, allocations: 43.83 kB / 1.183 GB, free: 3.395 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001334/1.106, allocations: 1.01 MB / 1.184 GB, free: 2.285 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001169/1.107, allocations: 0.8308 MB / 1.185 GB, free: 1.406 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004767/1.108, allocations: 251.8 kB / 1.185 GB, free: 1.16 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002103/1.108, allocations: 203.1 kB / 1.185 GB, free: 0.9609 MB / 0.9044 GB Notification: Performance of Backend: time 6.91e-07/1.108, allocations: 0 / 1.185 GB, free: 0.9609 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001642/1.11, allocations: 1.005 MB / 1.186 GB, free: 15.84 MB / 0.92 GB Notification: Performance of SimCode: time 0.001495/1.111, allocations: 1.244 MB / 1.187 GB, free: 14.49 MB / 0.92 GB Notification: Performance of Templates: time 0.01324/1.124, allocations: 6.936 MB / 1.194 GB, free: 7.633 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches