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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.00166/0.00166, allocations: 100.1 kB / 15.88 MB, free: 12 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.002001/0.002001, allocations: 197.2 kB / 16.79 MB, free: 6.809 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.406/1.406, allocations: 222.9 MB / 240.5 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.761/2.761, allocations: 461.9 MB / 0.7348 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 66.12 kB / 0.8991 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3396/0.3409, allocations: 157.4 MB / 1.053 GB, free: 8.312 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002575/0.3435, allocations: 0.9218 MB / 1.054 GB, free: 7.387 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001982/0.3455, allocations: 1.33 MB / 1.055 GB, free: 6.043 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000115/0.3457, allocations: 4 kB / 1.055 GB, free: 6.039 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001385/0.3458, allocations: 7.875 kB / 1.055 GB, free: 6.031 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001035/0.3459, allocations: 27.78 kB / 1.055 GB, free: 6.004 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000797/0.3467, allocations: 241.3 kB / 1.055 GB, free: 5.773 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003415/0.3471, allocations: 279.5 kB / 1.055 GB, free: 5.5 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001805/0.3473, allocations: 61.47 kB / 1.056 GB, free: 5.438 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002228/0.3475, allocations: 115.6 kB / 1.056 GB, free: 5.324 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003006/0.3478, allocations: 115.6 kB / 1.056 GB, free: 5.211 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.531e-05/0.3479, allocations: 12 kB / 1.056 GB, free: 5.199 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001071/0.348, allocations: 31.92 kB / 1.056 GB, free: 5.168 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.621e-05/0.3481, allocations: 31.86 kB / 1.056 GB, free: 5.137 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001363/0.3482, allocations: 111.4 kB / 1.056 GB, free: 5.027 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002712/0.3485, allocations: 251.7 kB / 1.056 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3485, allocations: 0 / 1.056 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.51e-07/0.3485, allocations: 0 / 1.056 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.957e-06/0.3485, allocations: 0 / 1.056 GB, free: 4.781 MB / 0.8106 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.0008171/0.3494, allocations: 0.5449 MB / 1.057 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.3494, allocations: 11.97 kB / 1.057 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001026/0.3495, allocations: 32.64 kB / 1.057 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007266/0.3503, allocations: 303.9 kB / 1.057 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.988e-05/0.3503, allocations: 12.38 kB / 1.057 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.454e-05/0.3504, allocations: 16.38 kB / 1.057 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002514/0.3506, allocations: 147.6 kB / 1.057 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/0.3506, allocations: 7.875 kB / 1.057 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.734e-05/0.3507, allocations: 4 kB / 1.057 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.3507, allocations: 4 kB / 1.057 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001325/0.3508, allocations: 67.89 kB / 1.057 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008622/0.3517, allocations: 0.7469 MB / 1.058 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.721e-05/0.3518, allocations: 61.16 kB / 1.058 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.128e-05/0.3518, allocations: 25.77 kB / 1.058 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.075e-06/0.3519, allocations: 0 / 1.058 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002369/0.3521, allocations: 116.9 kB / 1.058 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 9.41e-07/0.3521, allocations: 0 / 1.058 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0003168/0.3524, allocations: 121.5 kB / 1.058 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.224e-05/0.3525, allocations: 77.11 kB / 1.058 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002157/0.3527, allocations: 219.5 kB / 1.059 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.76e-05/0.3528, allocations: 37.69 kB / 1.059 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/0.3529, allocations: 135.8 kB / 1.059 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.958e-05/0.3529, allocations: 15.81 kB / 1.059 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/0.353, allocations: 69.61 kB / 1.059 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.3531, allocations: 322.8 kB / 1.059 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001516/0.3533, allocations: 67.95 kB / 1.059 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001679/0.3535, allocations: 118.8 kB / 1.059 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002309/0.3537, allocations: 194.1 kB / 1.06 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.3537, allocations: 0 / 1.06 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004962/0.3542, allocations: 300.7 kB / 1.06 GB, free: 0.6914 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.746e-05/0.3543, allocations: 63.39 kB / 1.06 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.958e-06/0.3543, allocations: 4 kB / 1.06 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.61e-05/0.3544, allocations: 4 kB / 1.06 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.413e-05/0.3544, allocations: 15.88 kB / 1.06 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.3544, allocations: 4 kB / 1.06 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003315/0.3548, allocations: 60.03 kB / 1.06 GB, free: 0.5312 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.195e-05/0.3548, allocations: 11.98 kB / 1.06 GB, free: 0.5195 MB / 0.8106 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.0001559/0.355, allocations: 145.8 kB / 1.06 GB, free: 376 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.889e-05/0.355, allocations: 15.81 kB / 1.06 GB, free: 360 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.888e-05/0.3551, allocations: 17.39 kB / 1.06 GB, free: 348 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.3551, allocations: 4 kB / 1.06 GB, free: 344 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.3551, allocations: 0 / 1.06 GB, free: 344 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.3551, allocations: 0 / 1.06 GB, free: 344 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002072/0.3553, allocations: 249.4 kB / 1.06 GB, free: 44 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.3553, allocations: 0 / 1.06 GB, free: 44 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.87e-05/0.3553, allocations: 7.938 kB / 1.06 GB, free: 36 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.3554, allocations: 0 / 1.06 GB, free: 36 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.3554, allocations: 7.984 kB / 1.06 GB, free: 28 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.3554, allocations: 0 / 1.06 GB, free: 28 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3554, allocations: 0 / 1.06 GB, free: 28 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001965/0.3556, allocations: 137.8 kB / 1.061 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.135e-05/0.3556, allocations: 88.92 kB / 1.061 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.15e-05/0.3557, allocations: 0 / 1.061 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.387e-05/0.3557, allocations: 7.984 kB / 1.061 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.507e-05/0.3558, allocations: 7.938 kB / 1.061 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.756e-06/0.3558, allocations: 4 kB / 1.061 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001248/0.3559, allocations: 153.4 kB / 1.061 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3559, allocations: 0 / 1.061 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002855/0.3562, allocations: 47.84 kB / 1.061 GB, free: 15.55 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.0001692/0.3564, allocations: 110.8 kB / 1.061 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003784/0.3568, allocations: 258.7 kB / 1.061 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3568, allocations: 0 / 1.061 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 6.897e-05/0.3568, allocations: 35.92 kB / 1.061 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003081/0.3572, allocations: 40.3 kB / 1.061 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005959/0.3578, allocations: 368.6 kB / 1.062 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002754/0.3581, allocations: 0.7321 MB / 1.062 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.283e-05/0.3581, allocations: 15.44 kB / 1.062 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of SimCode: time 3.9e-07/0.3581, allocations: 4 kB / 1.062 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of Templates: time 0.004965/0.3631, allocations: 2.474 MB / 1.065 GB, free: 11.46 MB / 0.8262 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/jenkins1/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