Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.001415/0.001414, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001757/0.001757, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.532/1.532, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.013/3.013, allocations: 472.6 MB / 0.7451 GB, free: 4.586 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001875/0.001876, allocations: 64.58 kB / 0.9121 GB, free: 33.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4162/0.4181, allocations: 159.9 MB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002387/0.4206, allocations: 0.8709 MB / 1.069 GB, free: 9.504 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00205/0.4226, allocations: 1.299 MB / 1.07 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001101/0.4228, allocations: 4 kB / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001247/0.4229, allocations: 15.8 kB / 1.07 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.871e-05/0.423, allocations: 35.72 kB / 1.07 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007927/0.4238, allocations: 249.6 kB / 1.071 GB, free: 7.898 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004164/0.4242, allocations: 343.4 kB / 1.071 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001912/0.4244, allocations: 61.45 kB / 1.071 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001949/0.4246, allocations: 131.7 kB / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002807/0.4249, allocations: 115.6 kB / 1.071 GB, free: 7.258 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.833e-05/0.425, allocations: 28 kB / 1.071 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001151/0.4252, allocations: 43.98 kB / 1.071 GB, free: 7.188 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.216e-05/0.4252, allocations: 47.84 kB / 1.071 GB, free: 7.141 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001468/0.4254, allocations: 119.4 kB / 1.071 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003601/0.4258, allocations: 327.3 kB / 1.072 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/0.4258, allocations: 4 kB / 1.072 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.383e-06/0.4258, allocations: 0 / 1.072 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.347e-06/0.4258, allocations: 0 / 1.072 GB, free: 6.699 MB / 0.8262 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.0006815/0.4265, allocations: 0.5448 MB / 1.072 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.4265, allocations: 8.031 kB / 1.072 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.379e-05/0.4266, allocations: 24.69 kB / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006649/0.4273, allocations: 297.9 kB / 1.073 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.171e-05/0.4273, allocations: 12.38 kB / 1.073 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.924e-05/0.4274, allocations: 12.38 kB / 1.073 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002353/0.4276, allocations: 151.1 kB / 1.073 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.4276, allocations: 7.922 kB / 1.073 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.792e-05/0.4276, allocations: 7.938 kB / 1.073 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.4277, allocations: 11.94 kB / 1.073 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001253/0.4278, allocations: 63.91 kB / 1.073 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008117/0.4286, allocations: 0.7467 MB / 1.074 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.925e-05/0.4287, allocations: 65.17 kB / 1.074 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.768e-05/0.4288, allocations: 25.78 kB / 1.074 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.234e-06/0.4288, allocations: 0 / 1.074 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002175/0.429, allocations: 101 kB / 1.074 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.292e-06/0.429, allocations: 0 / 1.074 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.000277/0.4293, allocations: 125.4 kB / 1.074 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.196e-05/0.4294, allocations: 85.11 kB / 1.074 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001925/0.4296, allocations: 215.6 kB / 1.074 GB, free: 3.965 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.012e-05/0.4296, allocations: 33.7 kB / 1.074 GB, free: 3.926 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.4297, allocations: 139.8 kB / 1.074 GB, free: 3.785 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.987e-05/0.4297, allocations: 19.8 kB / 1.074 GB, free: 3.766 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/0.4298, allocations: 57.69 kB / 1.074 GB, free: 3.703 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.43, allocations: 330.8 kB / 1.075 GB, free: 3.371 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001537/0.4301, allocations: 59.97 kB / 1.075 GB, free: 3.312 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001573/0.4303, allocations: 122.8 kB / 1.075 GB, free: 3.168 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002267/0.4305, allocations: 202.1 kB / 1.075 GB, free: 2.934 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.4305, allocations: 0 / 1.075 GB, free: 2.934 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004745/0.431, allocations: 300.6 kB / 1.075 GB, free: 2.621 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.756e-05/0.4311, allocations: 63.41 kB / 1.076 GB, free: 2.547 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.4311, allocations: 0 / 1.076 GB, free: 2.547 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.4311, allocations: 4 kB / 1.076 GB, free: 2.543 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.258e-05/0.4312, allocations: 11.98 kB / 1.076 GB, free: 2.531 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/0.4312, allocations: 12.12 kB / 1.076 GB, free: 2.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003284/0.4315, allocations: 55.78 kB / 1.076 GB, free: 2.465 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.986e-05/0.4316, allocations: 15.98 kB / 1.076 GB, free: 2.449 MB / 0.8262 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.0001467/0.4317, allocations: 142.4 kB / 1.076 GB, free: 2.301 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.512e-05/0.4317, allocations: 15.81 kB / 1.076 GB, free: 2.285 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.741e-05/0.4318, allocations: 20.94 kB / 1.076 GB, free: 2.266 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.4318, allocations: 7.938 kB / 1.076 GB, free: 2.258 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.4318, allocations: 3.984 kB / 1.076 GB, free: 2.254 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.4318, allocations: 3.938 kB / 1.076 GB, free: 2.25 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001935/0.432, allocations: 233.5 kB / 1.076 GB, free: 1.973 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.432, allocations: 0 / 1.076 GB, free: 1.973 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.549e-05/0.4321, allocations: 7.938 kB / 1.076 GB, free: 1.965 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.4321, allocations: 0 / 1.076 GB, free: 1.965 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.4321, allocations: 8.469 kB / 1.076 GB, free: 1.957 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.654e-06/0.4321, allocations: 0 / 1.076 GB, free: 1.957 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4321, allocations: 4 kB / 1.076 GB, free: 1.953 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001705/0.4323, allocations: 129.7 kB / 1.076 GB, free: 1.805 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.393e-05/0.4323, allocations: 96.89 kB / 1.076 GB, free: 1.691 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.18e-05/0.4324, allocations: 4 kB / 1.076 GB, free: 1.688 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.077e-05/0.4324, allocations: 4 kB / 1.076 GB, free: 1.684 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.07e-05/0.4324, allocations: 7.984 kB / 1.076 GB, free: 1.676 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-06/0.4325, allocations: 4 kB / 1.076 GB, free: 1.672 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001108/0.4326, allocations: 149.5 kB / 1.076 GB, free: 1.527 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4326, allocations: 0 / 1.076 GB, free: 1.527 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002749/0.4329, allocations: 47.84 kB / 1.076 GB, free: 1.48 MB / 0.8262 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.00017/0.433, allocations: 108.8 kB / 1.077 GB, free: 1.363 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003766/0.4334, allocations: 258.7 kB / 1.077 GB, free: 1.086 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.4334, allocations: 4.312 kB / 1.077 GB, free: 1.082 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.702e-05/0.4335, allocations: 31.98 kB / 1.077 GB, free: 1.051 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003032/0.4338, allocations: 49.25 kB / 1.077 GB, free: 1.004 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004922/0.4343, allocations: 296.8 kB / 1.077 GB, free: 0.6836 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002984/0.4346, allocations: 0.7319 MB / 1.078 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 6.39e-05/0.4347, allocations: 17.55 kB / 1.078 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.56e-05/0.4347, allocations: 19.38 kB / 1.078 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of SimCode: time 2.5e-07/0.4347, allocations: 4 kB / 1.078 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of Templates: time 0.005447/0.4402, allocations: 2.393 MB / 1.08 GB, free: 13.53 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches