Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.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_11_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_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00696/0.00696, allocations: 102.7 kB / 15.74 MB, free: 6.004 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.001605/0.001605, allocations: 192.1 kB / 16.67 MB, free: 5.926 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.435/1.435, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.677/2.677, allocations: 469.8 MB / 0.7425 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00148/0.00148, allocations: 67.83 kB / 1.065 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.022/1.023, allocations: 159.1 MB / 1.221 GB, free: 2.141 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002504/1.026, allocations: 1.013 MB / 1.222 GB, free: 1.133 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00214/1.028, allocations: 1.338 MB / 1.223 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001404/1.028, allocations: 3.938 kB / 1.223 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001548/1.028, allocations: 19.8 kB / 1.223 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002024/1.029, allocations: 43.66 kB / 1.223 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009908/1.03, allocations: 280.3 kB / 1.223 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.000597/1.03, allocations: 379.3 kB / 1.224 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001968/1.03, allocations: 53.59 kB / 1.224 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003223/1.031, allocations: 151.7 kB / 1.224 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000294/1.031, allocations: 127.5 kB / 1.224 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001018/1.031, allocations: 32 kB / 1.224 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001687/1.031, allocations: 59.97 kB / 1.224 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.000111/1.031, allocations: 63.77 kB / 1.224 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002074/1.032, allocations: 139.4 kB / 1.224 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0005593/1.032, allocations: 403.1 kB / 1.225 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/1.032, allocations: 4 kB / 1.225 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.413e-06/1.032, allocations: 0 / 1.225 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.429e-05/1.032, allocations: 0 / 1.225 GB, free: 14.07 MB / 0.9512 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.001251/1.033, allocations: 0.6186 MB / 1.225 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/1.033, allocations: 12.03 kB / 1.225 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001179/1.034, allocations: 28.8 kB / 1.225 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009699/1.034, allocations: 378.9 kB / 1.226 GB, free: 12.94 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.73e-05/1.035, allocations: 16.38 kB / 1.226 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.974e-05/1.035, allocations: 24.38 kB / 1.226 GB, free: 12.9 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004648/1.035, allocations: 206.8 kB / 1.226 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/1.035, allocations: 7.938 kB / 1.226 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.24e-05/1.035, allocations: 4 kB / 1.226 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.425e-06/1.035, allocations: 8 kB / 1.226 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004791/1.036, allocations: 139.8 kB / 1.226 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0013/1.037, allocations: 0.9119 MB / 1.227 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003416/1.037, allocations: 145 kB / 1.227 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002282/1.037, allocations: 92.17 kB / 1.227 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.658e-05/1.037, allocations: 0 / 1.227 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004452/1.038, allocations: 171.5 kB / 1.227 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=11): time 1.442e-06/1.038, allocations: 0 / 1.227 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11): time 0.0008855/1.039, allocations: 261.3 kB / 1.227 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.118e-05/1.039, allocations: 154.2 kB / 1.228 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002475/1.039, allocations: 229.2 kB / 1.228 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.339e-05/1.039, allocations: 33.7 kB / 1.228 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001289/1.039, allocations: 152.3 kB / 1.228 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.481e-05/1.039, allocations: 35.73 kB / 1.228 GB, free: 10.15 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001198/1.039, allocations: 57.69 kB / 1.228 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001386/1.04, allocations: 338.8 kB / 1.228 GB, free: 9.746 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003174/1.04, allocations: 95.91 kB / 1.229 GB, free: 9.652 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003747/1.04, allocations: 173.4 kB / 1.229 GB, free: 9.449 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005763/1.041, allocations: 274.9 kB / 1.229 GB, free: 9.141 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/1.041, allocations: 4 kB / 1.229 GB, free: 9.137 MB / 0.9512 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008407/1.042, allocations: 376.7 kB / 1.229 GB, free: 8.75 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 5.986e-05/1.042, allocations: 67.39 kB / 1.229 GB, free: 8.672 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/1.042, allocations: 0 / 1.229 GB, free: 8.672 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/1.042, allocations: 4 kB / 1.229 GB, free: 8.668 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001617/1.042, allocations: 27.91 kB / 1.229 GB, free: 8.641 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/1.042, allocations: 4 kB / 1.229 GB, free: 8.637 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004865/1.042, allocations: 91.88 kB / 1.23 GB, free: 8.547 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.489e-05/1.042, allocations: 19.98 kB / 1.23 GB, free: 8.527 MB / 0.9512 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,pul.booPul.y,$PRE.pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y,$PRE.pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001559/1.043, allocations: 148.3 kB / 1.23 GB, free: 8.375 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.477e-05/1.043, allocations: 23.86 kB / 1.23 GB, free: 8.352 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.155e-05/1.043, allocations: 29.17 kB / 1.23 GB, free: 8.316 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/1.043, allocations: 4 kB / 1.23 GB, free: 8.312 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/1.043, allocations: 0 / 1.23 GB, free: 8.312 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/1.043, allocations: 8.406 kB / 1.23 GB, free: 8.305 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002367/1.043, allocations: 257.4 kB / 1.23 GB, free: 8.004 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/1.043, allocations: 0 / 1.23 GB, free: 8.004 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000144/1.043, allocations: 23.97 kB / 1.23 GB, free: 7.98 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/1.043, allocations: 4 kB / 1.23 GB, free: 7.977 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/1.043, allocations: 8 kB / 1.23 GB, free: 7.969 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/1.043, allocations: 0 / 1.23 GB, free: 7.969 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/1.043, allocations: 4 kB / 1.23 GB, free: 7.965 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000536/1.044, allocations: 244.2 kB / 1.23 GB, free: 7.695 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.59e-05/1.044, allocations: 93.02 kB / 1.23 GB, free: 7.586 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.825e-05/1.044, allocations: 4 kB / 1.23 GB, free: 7.582 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/1.044, allocations: 19.97 kB / 1.23 GB, free: 7.562 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.739e-05/1.044, allocations: 11.98 kB / 1.23 GB, free: 7.551 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/1.044, allocations: 8 kB / 1.23 GB, free: 7.543 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001409/1.044, allocations: 172.3 kB / 1.231 GB, free: 7.371 MB / 0.9512 GB Notification: Performance of sort global known variables: time 7e-08/1.044, allocations: 0 / 1.231 GB, free: 7.371 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003052/1.044, allocations: 55.89 kB / 1.231 GB, free: 7.316 MB / 0.9512 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001772/1.045, allocations: 119.1 kB / 1.231 GB, free: 7.191 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0006986/1.045, allocations: 318.5 kB / 1.231 GB, free: 6.855 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/1.045, allocations: 0 / 1.231 GB, free: 6.855 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002605/1.046, allocations: 68.44 kB / 1.231 GB, free: 6.789 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003467/1.046, allocations: 52.47 kB / 1.231 GB, free: 6.738 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007074/1.047, allocations: 395 kB / 1.232 GB, free: 6.312 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000315/1.047, allocations: 0.7476 MB / 1.232 GB, free: 5.539 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001187/1.047, allocations: 33.53 kB / 1.232 GB, free: 5.508 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.416e-05/1.047, allocations: 19.44 kB / 1.232 GB, free: 5.488 MB / 0.9512 GB Notification: Performance of SimCode: time 3.1e-07/1.047, allocations: 0 / 1.232 GB, free: 5.488 MB / 0.9512 GB Notification: Performance of Templates: time 0.007135/1.054, allocations: 3.192 MB / 1.235 GB, free: 2.34 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches