Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.",fileNamePrefix="Buildings_9_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.",fileNamePrefix="Buildings_9_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.001732/0.001732, allocations: 104.2 kB / 16.4 MB, free: 6.465 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.0018/0.001801, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.425/1.425, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.505/2.505, allocations: 390.2 MB / 0.6655 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001532/0.001532, allocations: 63.91 kB / 0.9515 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.055/1.056, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.001988/1.058, allocations: 0.9878 MB / 1.09 GB, free: 4.848 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001432/1.06, allocations: 1.282 MB / 1.091 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.559e-05/1.06, allocations: 2.219 kB / 1.091 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001103/1.06, allocations: 17.67 kB / 1.091 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.208e-05/1.06, allocations: 40.17 kB / 1.091 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006664/1.061, allocations: 259.4 kB / 1.091 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003804/1.061, allocations: 343 kB / 1.091 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001417/1.061, allocations: 52.58 kB / 1.092 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001523/1.062, allocations: 121.3 kB / 1.092 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001789/1.062, allocations: 118.5 kB / 1.092 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.812e-05/1.062, allocations: 30.75 kB / 1.092 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001188/1.062, allocations: 44.27 kB / 1.092 GB, free: 3.43 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.297e-05/1.062, allocations: 45.05 kB / 1.092 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001435/1.062, allocations: 119.4 kB / 1.092 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004284/1.063, allocations: 333.6 kB / 1.092 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/1.063, allocations: 0.6562 kB / 1.092 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.523e-06/1.063, allocations: 0 / 1.092 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.482e-06/1.063, allocations: 0 / 1.092 GB, free: 3.215 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008454/1.063, allocations: 0.5686 MB / 1.093 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/1.064, allocations: 8.656 kB / 1.093 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.594e-05/1.064, allocations: 22.86 kB / 1.093 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002431/1.064, allocations: 253.6 kB / 1.093 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.379e-05/1.064, allocations: 11.61 kB / 1.093 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.499e-05/1.064, allocations: 16.56 kB / 1.093 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004142/1.064, allocations: 171.2 kB / 1.093 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.946e-06/1.064, allocations: 0.9375 kB / 1.093 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.74e-05/1.064, allocations: 9.391 kB / 1.093 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/1.064, allocations: 3.344 kB / 1.093 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004923/1.065, allocations: 136.7 kB / 1.093 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009597/1.066, allocations: 0.8777 MB / 1.094 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003144/1.066, allocations: 158.4 kB / 1.094 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002539/1.066, allocations: 88.31 kB / 1.095 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.89e-05/1.066, allocations: 8.812 kB / 1.095 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000419/1.067, allocations: 183.2 kB / 1.095 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.403e-06/1.067, allocations: 0 / 1.095 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.0009266/1.068, allocations: 282 kB / 1.095 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.432e-05/1.068, allocations: 170.3 kB / 1.095 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002035/1.068, allocations: 203.4 kB / 1.095 GB, free: 0.8438 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.671e-05/1.068, allocations: 33.98 kB / 1.095 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.454e-05/1.068, allocations: 130.1 kB / 1.095 GB, free: 0.6914 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.168e-05/1.068, allocations: 26.22 kB / 1.096 GB, free: 0.6719 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/1.068, allocations: 55.67 kB / 1.096 GB, free: 0.6445 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.883e-05/1.068, allocations: 328.3 kB / 1.096 GB, free: 332 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003757/1.069, allocations: 120.3 kB / 1.096 GB, free: 296 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003742/1.069, allocations: 180.2 kB / 1.096 GB, free: 180 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006584/1.07, allocations: 298.9 kB / 1.096 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/1.07, allocations: 0.5625 kB / 1.096 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001016/1.071, allocations: 404.9 kB / 1.097 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 6.427e-05/1.071, allocations: 68.88 kB / 1.097 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.445e-06/1.071, allocations: 2.469 kB / 1.097 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.832e-05/1.071, allocations: 3.219 kB / 1.097 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001902/1.071, allocations: 34.44 kB / 1.097 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/1.071, allocations: 11.55 kB / 1.097 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004292/1.072, allocations: 74.11 kB / 1.097 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.6e-05/1.072, allocations: 21.22 kB / 1.097 GB, free: 15.69 MB / 0.8731 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.0001562/1.072, allocations: 136.5 kB / 1.097 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.747e-05/1.072, allocations: 21.14 kB / 1.097 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.561e-05/1.072, allocations: 20.61 kB / 1.097 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/1.072, allocations: 7.156 kB / 1.097 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/1.072, allocations: 0.6875 kB / 1.097 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/1.072, allocations: 2.141 kB / 1.097 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002653/1.072, allocations: 250.7 kB / 1.097 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/1.072, allocations: 2.766 kB / 1.097 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001515/1.072, allocations: 29.16 kB / 1.098 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/1.073, allocations: 2 kB / 1.098 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.502e-05/1.073, allocations: 6.641 kB / 1.098 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.308e-06/1.073, allocations: 10.55 kB / 1.098 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/1.073, allocations: 5.938 kB / 1.098 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006444/1.073, allocations: 252.4 kB / 1.098 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 5.872e-05/1.073, allocations: 91.75 kB / 1.098 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.964e-05/1.073, allocations: 3.422 kB / 1.098 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001438/1.073, allocations: 26.72 kB / 1.098 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.386e-05/1.074, allocations: 18.5 kB / 1.098 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/1.074, allocations: 9.469 kB / 1.098 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001494/1.074, allocations: 149.3 kB / 1.098 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.7e-07/1.074, allocations: 0 / 1.098 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003049/1.074, allocations: 49.91 kB / 1.098 GB, free: 14.92 MB / 0.8731 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.000171/1.074, allocations: 111.8 kB / 1.098 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0008855/1.075, allocations: 375.3 kB / 1.099 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.113e-06/1.075, allocations: 1.094 kB / 1.099 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003383/1.075, allocations: 107.9 kB / 1.099 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000365/1.076, allocations: 44.78 kB / 1.099 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006493/1.076, allocations: 361 kB / 1.099 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003316/1.077, allocations: 0.7264 MB / 1.1 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.677e-05/1.077, allocations: 20.95 kB / 1.1 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of SimCode: time 3e-07/1.077, allocations: 0 / 1.1 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of Templates: time 0.005899/1.083, allocations: 2.727 MB / 1.102 GB, free: 13.32 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches