Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.008406/0.008406, allocations: 99.56 kB / 15.73 MB, free: 6.059 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.001617/0.001617, allocations: 196.6 kB / 16.67 MB, free: 5.969 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.527/1.527, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.497/2.497, allocations: 437 MB / 0.7105 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 59.91 kB / 1.019 GB, free: 9.398 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.027/1.028, allocations: 151.6 MB / 1.167 GB, free: 3.828 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.00254/1.031, allocations: 1.017 MB / 1.168 GB, free: 2.809 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002053/1.033, allocations: 1.327 MB / 1.169 GB, free: 1.465 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/1.033, allocations: 4 kB / 1.169 GB, free: 1.461 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001303/1.033, allocations: 15.75 kB / 1.169 GB, free: 1.445 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 9.91e-05/1.033, allocations: 43.64 kB / 1.169 GB, free: 1.402 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008626/1.034, allocations: 281.7 kB / 1.169 GB, free: 1.133 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0004224/1.035, allocations: 399.3 kB / 1.17 GB, free: 0.7422 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001907/1.035, allocations: 58.53 kB / 1.17 GB, free: 0.6836 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002098/1.035, allocations: 155.6 kB / 1.17 GB, free: 0.5312 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002097/1.035, allocations: 135.5 kB / 1.17 GB, free: 408 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 6.737e-05/1.035, allocations: 40 kB / 1.17 GB, free: 368 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001269/1.036, allocations: 51.98 kB / 1.17 GB, free: 316 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 8.883e-05/1.036, allocations: 59.77 kB / 1.17 GB, free: 256 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001966/1.036, allocations: 135.4 kB / 1.17 GB, free: 120 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0004971/1.036, allocations: 407.1 kB / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/1.036, allocations: 0 / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.903e-06/1.036, allocations: 0 / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 8.476e-06/1.036, allocations: 0 / 1.171 GB, free: 15.73 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.00106/1.037, allocations: 0.6264 MB / 1.171 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/1.038, allocations: 8.922 kB / 1.171 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001018/1.038, allocations: 32.73 kB / 1.171 GB, free: 15 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009185/1.039, allocations: 374.9 kB / 1.172 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.172e-05/1.039, allocations: 24.36 kB / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.6e-05/1.039, allocations: 20.38 kB / 1.172 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004559/1.039, allocations: 194.4 kB / 1.172 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/1.039, allocations: 15.88 kB / 1.172 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.768e-05/1.039, allocations: 3.938 kB / 1.172 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.325e-06/1.039, allocations: 4 kB / 1.172 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004777/1.04, allocations: 139.8 kB / 1.172 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001189/1.041, allocations: 0.911 MB / 1.173 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003296/1.041, allocations: 153 kB / 1.173 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002396/1.041, allocations: 80.3 kB / 1.173 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.755e-05/1.042, allocations: 0 / 1.173 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003759/1.042, allocations: 171.5 kB / 1.173 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=11): time 1.443e-06/1.042, allocations: 0 / 1.173 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11): time 0.0008992/1.043, allocations: 257.2 kB / 1.174 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.137e-05/1.043, allocations: 170.5 kB / 1.174 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002272/1.043, allocations: 221 kB / 1.174 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.000102/1.043, allocations: 33.7 kB / 1.174 GB, free: 12 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/1.043, allocations: 164.3 kB / 1.174 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.975e-05/1.043, allocations: 23.81 kB / 1.174 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001222/1.044, allocations: 61.67 kB / 1.174 GB, free: 11.74 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001204/1.044, allocations: 330.8 kB / 1.174 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003216/1.044, allocations: 103.9 kB / 1.175 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003881/1.044, allocations: 169.4 kB / 1.175 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000588/1.045, allocations: 274.9 kB / 1.175 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/1.045, allocations: 0 / 1.175 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0009249/1.046, allocations: 372.6 kB / 1.175 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001566/1.046, allocations: 63.41 kB / 1.175 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/1.046, allocations: 0 / 1.175 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/1.046, allocations: 7.938 kB / 1.175 GB, free: 10.33 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001755/1.046, allocations: 28.19 kB / 1.175 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/1.046, allocations: 7.938 kB / 1.175 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004798/1.047, allocations: 91.78 kB / 1.176 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.429e-05/1.047, allocations: 15.98 kB / 1.176 GB, free: 10.19 MB / 0.9044 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.0001643/1.047, allocations: 157.7 kB / 1.176 GB, free: 10.03 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.444e-05/1.047, allocations: 19.86 kB / 1.176 GB, free: 10.01 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.833e-05/1.047, allocations: 25.23 kB / 1.176 GB, free: 9.973 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.277e-06/1.047, allocations: 0 / 1.176 GB, free: 9.973 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/1.047, allocations: 8 kB / 1.176 GB, free: 9.965 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/1.047, allocations: 0 / 1.176 GB, free: 9.965 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003237/1.047, allocations: 265.4 kB / 1.176 GB, free: 9.656 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/1.048, allocations: 4 kB / 1.176 GB, free: 9.652 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001328/1.048, allocations: 23.97 kB / 1.176 GB, free: 9.629 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/1.048, allocations: 4 kB / 1.176 GB, free: 9.625 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.573e-05/1.048, allocations: 4 kB / 1.176 GB, free: 9.621 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/1.048, allocations: 3.938 kB / 1.176 GB, free: 9.617 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.678e-06/1.048, allocations: 4 kB / 1.176 GB, free: 9.613 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005751/1.048, allocations: 240.2 kB / 1.176 GB, free: 9.348 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.911e-05/1.048, allocations: 92.95 kB / 1.176 GB, free: 9.238 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.091e-05/1.048, allocations: 7.984 kB / 1.176 GB, free: 9.23 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/1.049, allocations: 15.98 kB / 1.176 GB, free: 9.215 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.127e-05/1.049, allocations: 23.92 kB / 1.176 GB, free: 9.191 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/1.049, allocations: 7.984 kB / 1.176 GB, free: 9.184 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001336/1.049, allocations: 156.4 kB / 1.177 GB, free: 9.031 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/1.049, allocations: 0 / 1.177 GB, free: 9.031 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003109/1.049, allocations: 59.88 kB / 1.177 GB, free: 8.973 MB / 0.9044 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.0001915/1.049, allocations: 107.2 kB / 1.177 GB, free: 8.859 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0008306/1.05, allocations: 338.5 kB / 1.177 GB, free: 8.504 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/1.05, allocations: 0 / 1.177 GB, free: 8.504 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.000279/1.05, allocations: 81.09 kB / 1.177 GB, free: 8.426 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003601/1.051, allocations: 44.45 kB / 1.177 GB, free: 8.383 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007012/1.051, allocations: 399.4 kB / 1.178 GB, free: 7.957 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000324/1.052, allocations: 0.7476 MB / 1.178 GB, free: 7.184 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001192/1.052, allocations: 37.52 kB / 1.178 GB, free: 7.145 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.387e-05/1.052, allocations: 23.38 kB / 1.178 GB, free: 7.121 MB / 0.9044 GB Notification: Performance of SimCode: time 2.6e-07/1.052, allocations: 0 / 1.178 GB, free: 7.121 MB / 0.9044 GB Notification: Performance of Templates: time 0.006989/1.059, allocations: 3.19 MB / 1.181 GB, free: 3.977 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches