Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001893/0.001893, allocations: 110.3 kB / 16.41 MB, free: 6.504 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.002161/0.002161, allocations: 185.2 kB / 17.34 MB, free: 5.738 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.469/1.469, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.842/2.842, allocations: 474.5 MB / 0.7477 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001884, allocations: 67.89 kB / 1.073 GB, free: 7.199 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.016/1.018, allocations: 160.3 MB / 1.229 GB, free: 10.97 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002332/1.021, allocations: 1.012 MB / 1.23 GB, free: 9.953 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002028/1.023, allocations: 1.324 MB / 1.231 GB, free: 8.617 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.766e-05/1.023, allocations: 0 / 1.231 GB, free: 8.617 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001461/1.023, allocations: 31.73 kB / 1.231 GB, free: 8.586 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.000119/1.023, allocations: 43.64 kB / 1.231 GB, free: 8.543 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008786/1.024, allocations: 281.5 kB / 1.232 GB, free: 8.273 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.000524/1.024, allocations: 395.3 kB / 1.232 GB, free: 7.887 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002101/1.025, allocations: 69.5 kB / 1.232 GB, free: 7.82 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002239/1.025, allocations: 151.6 kB / 1.232 GB, free: 7.672 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002372/1.025, allocations: 135.5 kB / 1.232 GB, free: 7.539 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 6.583e-05/1.025, allocations: 40 kB / 1.233 GB, free: 7.5 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001353/1.025, allocations: 55.92 kB / 1.233 GB, free: 7.445 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 9.196e-05/1.025, allocations: 59.77 kB / 1.233 GB, free: 7.387 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001723/1.026, allocations: 139.4 kB / 1.233 GB, free: 7.25 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0005002/1.026, allocations: 403.1 kB / 1.233 GB, free: 6.863 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/1.026, allocations: 0 / 1.233 GB, free: 6.863 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.402e-06/1.026, allocations: 0 / 1.233 GB, free: 6.863 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.615e-06/1.026, allocations: 0 / 1.233 GB, free: 6.863 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.001121/1.027, allocations: 0.6264 MB / 1.234 GB, free: 6.172 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/1.027, allocations: 8.031 kB / 1.234 GB, free: 6.164 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.229e-05/1.027, allocations: 28.8 kB / 1.234 GB, free: 6.137 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009448/1.028, allocations: 378.9 kB / 1.234 GB, free: 5.73 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.46e-05/1.028, allocations: 24.36 kB / 1.234 GB, free: 5.707 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.593e-05/1.029, allocations: 20.38 kB / 1.234 GB, free: 5.688 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004706/1.029, allocations: 206.4 kB / 1.234 GB, free: 5.465 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/1.029, allocations: 3.938 kB / 1.234 GB, free: 5.461 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.979e-05/1.029, allocations: 4 kB / 1.234 GB, free: 5.457 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.717e-06/1.029, allocations: 4 kB / 1.234 GB, free: 5.453 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004896/1.03, allocations: 139.8 kB / 1.235 GB, free: 5.316 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001221/1.031, allocations: 0.9071 MB / 1.235 GB, free: 4.344 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003527/1.031, allocations: 153 kB / 1.236 GB, free: 4.148 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002553/1.031, allocations: 80.3 kB / 1.236 GB, free: 4.055 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/1.031, allocations: 7.938 kB / 1.236 GB, free: 4.047 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004422/1.032, allocations: 175.4 kB / 1.236 GB, free: 3.848 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=11): time 1.673e-06/1.032, allocations: 0 / 1.236 GB, free: 3.848 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11): time 0.0009235/1.033, allocations: 261.3 kB / 1.236 GB, free: 3.586 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001243/1.033, allocations: 162.7 kB / 1.236 GB, free: 3.391 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002437/1.033, allocations: 225 kB / 1.236 GB, free: 3.16 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.455e-05/1.033, allocations: 33.7 kB / 1.236 GB, free: 3.121 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001479/1.033, allocations: 156.3 kB / 1.237 GB, free: 2.961 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.587e-05/1.033, allocations: 23.81 kB / 1.237 GB, free: 2.938 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001325/1.034, allocations: 61.67 kB / 1.237 GB, free: 2.871 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001905/1.034, allocations: 330.8 kB / 1.237 GB, free: 2.539 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003727/1.034, allocations: 103.9 kB / 1.237 GB, free: 2.438 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004074/1.035, allocations: 181.2 kB / 1.237 GB, free: 2.227 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006273/1.035, allocations: 270.9 kB / 1.238 GB, free: 1.922 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.648e-06/1.035, allocations: 4 kB / 1.238 GB, free: 1.918 MB / 0.9512 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008991/1.036, allocations: 372.6 kB / 1.238 GB, free: 1.535 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 6.421e-05/1.036, allocations: 63.41 kB / 1.238 GB, free: 1.461 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/1.036, allocations: 4 kB / 1.238 GB, free: 1.457 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/1.036, allocations: 0 / 1.238 GB, free: 1.457 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001741/1.036, allocations: 32.19 kB / 1.238 GB, free: 1.426 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/1.036, allocations: 0 / 1.238 GB, free: 1.426 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005115/1.037, allocations: 99.66 kB / 1.238 GB, free: 1.328 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.862e-05/1.037, allocations: 19.98 kB / 1.238 GB, free: 1.309 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.0001664/1.037, allocations: 149.8 kB / 1.238 GB, free: 1.152 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.674e-05/1.037, allocations: 19.86 kB / 1.238 GB, free: 1.133 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.891e-05/1.037, allocations: 25.23 kB / 1.238 GB, free: 1.098 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/1.037, allocations: 7.938 kB / 1.238 GB, free: 1.09 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/1.037, allocations: 0 / 1.238 GB, free: 1.09 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/1.037, allocations: 0 / 1.238 GB, free: 1.09 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002956/1.038, allocations: 261.4 kB / 1.239 GB, free: 0.7852 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/1.038, allocations: 4 kB / 1.239 GB, free: 0.7812 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001403/1.038, allocations: 27.91 kB / 1.239 GB, free: 0.7539 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/1.038, allocations: 4 kB / 1.239 GB, free: 0.75 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/1.038, allocations: 4 kB / 1.239 GB, free: 0.7461 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/1.038, allocations: 4 kB / 1.239 GB, free: 0.7422 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/1.038, allocations: 0 / 1.239 GB, free: 0.7422 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006268/1.038, allocations: 244.2 kB / 1.239 GB, free: 484 kB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 7.051e-05/1.039, allocations: 89.02 kB / 1.239 GB, free: 376 kB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.037e-05/1.039, allocations: 7.984 kB / 1.239 GB, free: 368 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/1.039, allocations: 16.45 kB / 1.239 GB, free: 352 kB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.368e-05/1.039, allocations: 19.98 kB / 1.239 GB, free: 332 kB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.32e-05/1.039, allocations: 7.984 kB / 1.239 GB, free: 324 kB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001641/1.039, allocations: 164.4 kB / 1.239 GB, free: 160 kB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/1.039, allocations: 3.938 kB / 1.239 GB, free: 156 kB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003143/1.039, allocations: 51.88 kB / 1.239 GB, free: 104 kB / 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.0002023/1.04, allocations: 111.2 kB / 1.239 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0008008/1.04, allocations: 342.5 kB / 1.24 GB, free: 15.62 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/1.04, allocations: 4 kB / 1.24 GB, free: 15.62 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002792/1.041, allocations: 84.31 kB / 1.24 GB, free: 15.54 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003617/1.041, allocations: 49.73 kB / 1.24 GB, free: 15.49 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006946/1.042, allocations: 387.5 kB / 1.24 GB, free: 15.08 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003951/1.042, allocations: 0.7476 MB / 1.241 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001182/1.042, allocations: 37.53 kB / 1.241 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.624e-05/1.042, allocations: 19.44 kB / 1.241 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of SimCode: time 2.8e-07/1.042, allocations: 0 / 1.241 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of Templates: time 0.007438/1.05, allocations: 3.19 MB / 1.244 GB, free: 11.1 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches