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.001099/0.001104, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001332/0.001332, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.536/1.536, allocations: 223.3 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.86/2.86, allocations: 462.6 MB / 0.736 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004015/0.0004016, allocations: 12.48 kB / 0.9021 GB, free: 36.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3534/0.3538, allocations: 159.6 MB / 1.058 GB, free: 5.316 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.001133/0.355, allocations: 0.556 MB / 1.059 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0023/0.3573, allocations: 1.28 MB / 1.06 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001427/0.3575, allocations: 0 / 1.06 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001387/0.3577, allocations: 15.88 kB / 1.06 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001332/0.3578, allocations: 19.84 kB / 1.06 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0011/0.3589, allocations: 217.8 kB / 1.06 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0005482/0.3595, allocations: 259.4 kB / 1.06 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002401/0.3597, allocations: 57.62 kB / 1.06 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003171/0.3601, allocations: 99.75 kB / 1.06 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003894/0.3605, allocations: 107.6 kB / 1.061 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.987e-05/0.3606, allocations: 8 kB / 1.061 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001281/0.3607, allocations: 19.98 kB / 1.061 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.179e-05/0.3608, allocations: 39.84 kB / 1.061 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001388/0.361, allocations: 57.58 kB / 1.061 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004535/0.3614, allocations: 255.6 kB / 1.061 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 1.015e-05/0.3614, allocations: 0 / 1.061 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.277e-06/0.3615, allocations: 0 / 1.061 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.916e-05/0.3615, allocations: 0 / 1.061 GB, free: 2.328 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.00121/0.3627, allocations: 0.4901 MB / 1.061 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 6.212e-05/0.3628, allocations: 12.03 kB / 1.061 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001556/0.3629, allocations: 23.72 kB / 1.061 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001023/0.364, allocations: 290.8 kB / 1.062 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.59e-05/0.364, allocations: 19.89 kB / 1.062 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.872e-05/0.3641, allocations: 16 kB / 1.062 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003412/0.3645, allocations: 150.6 kB / 1.062 GB, free: 1.219 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.3645, allocations: 0 / 1.062 GB, free: 1.219 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.158e-05/0.3645, allocations: 8 kB / 1.062 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.327e-05/0.3645, allocations: 4 kB / 1.062 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001844/0.3647, allocations: 67.78 kB / 1.062 GB, free: 1.141 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001082/0.3658, allocations: 0.7545 MB / 1.063 GB, free: 332 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001148/0.3659, allocations: 57.23 kB / 1.063 GB, free: 256 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.095e-05/0.366, allocations: 21.78 kB / 1.063 GB, free: 228 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/0.366, allocations: 11.98 kB / 1.063 GB, free: 216 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002514/0.3663, allocations: 100.9 kB / 1.063 GB, free: 96 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.522e-06/0.3663, allocations: 0 / 1.063 GB, free: 96 kB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0004638/0.3668, allocations: 125.4 kB / 1.063 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.874e-05/0.3669, allocations: 81.09 kB / 1.063 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003263/0.3672, allocations: 215.7 kB / 1.063 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.655e-05/0.3673, allocations: 29.7 kB / 1.063 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001859/0.3675, allocations: 143.7 kB / 1.063 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.613e-05/0.3675, allocations: 19.8 kB / 1.063 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.407e-05/0.3676, allocations: 4 kB / 1.063 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001967/0.3678, allocations: 326.8 kB / 1.064 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002574/0.368, allocations: 63.95 kB / 1.064 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002626/0.3683, allocations: 122.8 kB / 1.064 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002838/0.3686, allocations: 135.3 kB / 1.064 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.3686, allocations: 0 / 1.064 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0008876/0.3695, allocations: 296.7 kB / 1.064 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001062/0.3696, allocations: 59.41 kB / 1.064 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/0.3697, allocations: 7.938 kB / 1.064 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.488e-05/0.3697, allocations: 0 / 1.064 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.3698, allocations: 15.98 kB / 1.064 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.579e-05/0.3698, allocations: 4 kB / 1.064 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004809/0.3703, allocations: 75.97 kB / 1.065 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.152e-05/0.3704, allocations: 15.98 kB / 1.065 GB, free: 14.27 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,extIntSig1.y[4],$PRE.intPul.booPul.y,intPul.booPul.y,$whenCondition1,$whenCondition2,extIntSig1.y[5],$PRE.intPul1.booPul.y,intPul1.booPul.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002366/0.3706, allocations: 153.7 kB / 1.065 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.256e-05/0.3707, allocations: 15.81 kB / 1.065 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.265e-05/0.3708, allocations: 17.41 kB / 1.065 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.3708, allocations: 0 / 1.065 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.237e-05/0.3708, allocations: 3.984 kB / 1.065 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.172e-05/0.3708, allocations: 4 kB / 1.065 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000313/0.3711, allocations: 233.5 kB / 1.065 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.3711, allocations: 3.953 kB / 1.065 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.413e-05/0.3712, allocations: 4 kB / 1.065 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.3712, allocations: 4 kB / 1.065 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/0.3712, allocations: 4 kB / 1.065 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.352e-06/0.3712, allocations: 4 kB / 1.065 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.3712, allocations: 0 / 1.065 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002822/0.3715, allocations: 133.7 kB / 1.065 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.767e-05/0.3716, allocations: 100.8 kB / 1.065 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.015e-05/0.3717, allocations: 4 kB / 1.065 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.178e-05/0.3717, allocations: 4 kB / 1.065 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.608e-05/0.3718, allocations: 7.984 kB / 1.065 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.415e-05/0.3718, allocations: 4 kB / 1.065 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001788/0.372, allocations: 145.5 kB / 1.065 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/0.372, allocations: 0 / 1.065 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004214/0.3724, allocations: 43.94 kB / 1.065 GB, free: 13.3 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002971/0.3727, allocations: 108.2 kB / 1.066 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0006745/0.3734, allocations: 262.6 kB / 1.066 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3734, allocations: 0 / 1.066 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.655e-05/0.3735, allocations: 27.98 kB / 1.066 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005074/0.3741, allocations: 39.62 kB / 1.066 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00102/0.3751, allocations: 333.9 kB / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008375/0.3759, allocations: 0.7283 MB / 1.067 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001285/0.3761, allocations: 25.53 kB / 1.067 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.077e-05/0.3761, allocations: 19.38 kB / 1.067 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of SimCode: time 6.02e-07/0.3762, allocations: 0 / 1.067 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of Templates: time 0.008558/0.3847, allocations: 2.201 MB / 1.069 GB, free: 9.516 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/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