Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.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.IntegerExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIntSig.u.1.|extIntSig.u.2.|extIntSig.u.3.|extIntSig.u.4.|extIntSig.y.1.|extIntSig.y.2.|extIntSig.y.3.|extIntSig1.y.1.|extIntSig1.y.2.|extIntSig1.y.3.|extIntSig1.y.4.|extIntSig1.y.5.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIntSig.u.1.|extIntSig.u.2.|extIntSig.u.3.|extIntSig.u.4.|extIntSig.y.1.|extIntSig.y.2.|extIntSig.y.3.|extIntSig1.y.1.|extIntSig1.y.2.|extIntSig1.y.3.|extIntSig1.y.4.|extIntSig1.y.5.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00954/0.00954, allocations: 98.45 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.002481/0.002481, allocations: 195.8 kB / 16.68 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.405/1.405, allocations: 222.9 MB / 240.4 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.398/2.398, allocations: 390.2 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00249/0.00249, allocations: 67.88 kB / 0.9508 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.053/1.056, allocations: 140.4 MB / 1.088 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.00245/1.058, allocations: 0.8794 MB / 1.089 GB, free: 4.922 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001981/1.06, allocations: 1.291 MB / 1.09 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001053/1.06, allocations: 6.062 kB / 1.09 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000185/1.06, allocations: 19.34 kB / 1.09 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001144/1.061, allocations: 27.25 kB / 1.09 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001342/1.062, allocations: 267.1 kB / 1.09 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006959/1.063, allocations: 340.1 kB / 1.091 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002637/1.063, allocations: 61.91 kB / 1.091 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002841/1.063, allocations: 129.7 kB / 1.091 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000309/1.063, allocations: 107.3 kB / 1.091 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.789e-05/1.064, allocations: 33.41 kB / 1.091 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001824/1.064, allocations: 52.91 kB / 1.091 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001264/1.064, allocations: 45.98 kB / 1.091 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002338/1.064, allocations: 119.5 kB / 1.091 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007441/1.065, allocations: 352.7 kB / 1.092 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/1.065, allocations: 5.094 kB / 1.092 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.254e-06/1.065, allocations: 0 / 1.092 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.264e-06/1.065, allocations: 0 / 1.092 GB, free: 3.273 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0007835/1.066, allocations: 0.5382 MB / 1.092 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/1.066, allocations: 8.656 kB / 1.092 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.809e-05/1.066, allocations: 36.61 kB / 1.092 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006846/1.067, allocations: 301.5 kB / 1.092 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.736e-05/1.067, allocations: 13.39 kB / 1.092 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.108e-05/1.067, allocations: 23.55 kB / 1.092 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002663/1.067, allocations: 163.2 kB / 1.093 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/1.067, allocations: 3.938 kB / 1.093 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.673e-05/1.067, allocations: 2.578 kB / 1.093 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.816e-06/1.067, allocations: 3.219 kB / 1.093 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001468/1.067, allocations: 71.66 kB / 1.093 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008638/1.068, allocations: 0.7508 MB / 1.093 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001013/1.068, allocations: 54.72 kB / 1.093 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.538e-05/1.068, allocations: 22.66 kB / 1.093 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.425e-05/1.068, allocations: 0.8125 kB / 1.093 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002863/1.069, allocations: 113.9 kB / 1.094 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.343e-06/1.069, allocations: 0 / 1.094 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0003422/1.069, allocations: 125.8 kB / 1.094 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.851e-05/1.069, allocations: 79.94 kB / 1.094 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002244/1.069, allocations: 213.7 kB / 1.094 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.732e-05/1.069, allocations: 34.7 kB / 1.094 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.000103/1.069, allocations: 140.3 kB / 1.094 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.773e-05/1.069, allocations: 19.38 kB / 1.094 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001361/1.069, allocations: 65.05 kB / 1.094 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.653e-05/1.07, allocations: 332.4 kB / 1.095 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001636/1.07, allocations: 66.31 kB / 1.095 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002093/1.07, allocations: 133.7 kB / 1.095 GB, free: 0.6016 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002434/1.07, allocations: 189.3 kB / 1.095 GB, free: 444 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/1.07, allocations: 0.625 kB / 1.095 GB, free: 444 kB / 0.8575 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005474/1.071, allocations: 298.9 kB / 1.095 GB, free: 268 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.287e-05/1.071, allocations: 66.8 kB / 1.095 GB, free: 200 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.106e-06/1.071, allocations: 6.562 kB / 1.095 GB, free: 196 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/1.071, allocations: 3.234 kB / 1.095 GB, free: 196 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.663e-05/1.071, allocations: 13.47 kB / 1.095 GB, free: 192 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/1.071, allocations: 6.312 kB / 1.095 GB, free: 188 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004593/1.071, allocations: 68.45 kB / 1.095 GB, free: 180 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.181e-05/1.071, allocations: 13.77 kB / 1.095 GB, free: 180 kB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition3,$whenCondition4,intPul.booPul.y,$PRE.intPul.booPul.y,extIntSig1.y[4],$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,extIntSig1.y[5],conInt3.y,conInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * 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.0001531/1.072, allocations: 151 kB / 1.096 GB, free: 44 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.838e-05/1.072, allocations: 24.02 kB / 1.096 GB, free: 28 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.957e-05/1.072, allocations: 19.91 kB / 1.096 GB, free: 20 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/1.072, allocations: 5.969 kB / 1.096 GB, free: 16 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/1.072, allocations: 0.5312 kB / 1.096 GB, free: 16 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/1.072, allocations: 1.359 kB / 1.096 GB, free: 16 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002926/1.072, allocations: 229.5 kB / 1.096 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/1.072, allocations: 480 / 1.096 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.93e-05/1.072, allocations: 4.828 kB / 1.096 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/1.072, allocations: 1.516 kB / 1.096 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/1.072, allocations: 6.422 kB / 1.096 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/1.072, allocations: 5.656 kB / 1.096 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/1.072, allocations: 0 / 1.096 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002623/1.072, allocations: 138.2 kB / 1.096 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 6.104e-05/1.073, allocations: 93.41 kB / 1.096 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.849e-05/1.073, allocations: 7.625 kB / 1.096 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.047e-05/1.073, allocations: 0.7188 kB / 1.096 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.715e-05/1.073, allocations: 6.453 kB / 1.096 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.241e-05/1.073, allocations: 7.766 kB / 1.096 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000169/1.073, allocations: 145.4 kB / 1.096 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/1.073, allocations: 0 / 1.096 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003077/1.073, allocations: 53.7 kB / 1.096 GB, free: 15.46 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,extIntSig1.y[4],intPul.booPul.y,$whenCondition1,$whenCondition2,extIntSig1.y[5],intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.0002103/1.073, allocations: 110.7 kB / 1.096 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004848/1.074, allocations: 262.4 kB / 1.097 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/1.074, allocations: 4.062 kB / 1.097 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 7.335e-05/1.074, allocations: 25.66 kB / 1.097 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000314/1.074, allocations: 35.36 kB / 1.097 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006301/1.075, allocations: 301.5 kB / 1.097 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003855/1.075, allocations: 0.7354 MB / 1.098 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 8.105e-05/1.075, allocations: 20.58 kB / 1.098 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.741e-05/1.075, allocations: 16.64 kB / 1.098 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of SimCode: time 2.41e-07/1.075, allocations: 4 kB / 1.098 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of Templates: time 0.007368/1.083, allocations: 2.532 MB / 1.1 GB, free: 14.02 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches