Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.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.IntegerExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIndInt.u.1.|extIndInt.u.2.|extIndInt.u.3.|extIndInt.u.4.|extIndInt.index|extIndInt.y|extIndInt1.index|extIndInt1.y|extIndInt2.index|extIndInt2.y|extIndInt3.index|extIndInt3.y|extIndInt4.index|extIndInt4.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIndInt.u.1.|extIndInt.u.2.|extIndInt.u.3.|extIndInt.u.4.|extIndInt.index|extIndInt.y|extIndInt1.index|extIndInt1.y|extIndInt2.index|extIndInt2.y|extIndInt3.index|extIndInt3.y|extIndInt4.index|extIndInt4.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 92.16 kB / 16.02 MB, free: 80 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.0008846/0.0008847, allocations: 182 kB / 16.92 MB, free: 6.922 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.407/1.407, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.815/2.815, allocations: 462.6 MB / 0.737 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003821/0.000382, allocations: 12.28 kB / 0.9034 GB, free: 36.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3314/0.3318, allocations: 159.6 MB / 1.059 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.001528/0.3334, allocations: 0.8437 MB / 1.06 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00238/0.3358, allocations: 1.564 MB / 1.062 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001713/0.336, allocations: 7.938 kB / 1.062 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001528/0.3361, allocations: 15.8 kB / 1.062 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002174/0.3364, allocations: 51.62 kB / 1.062 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001293/0.3377, allocations: 450.5 kB / 1.062 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0006339/0.3383, allocations: 0.5113 MB / 1.063 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003302/0.3386, allocations: 148.3 kB / 1.063 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003463/0.339, allocations: 171.5 kB / 1.063 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002667/0.3393, allocations: 147.3 kB / 1.063 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.000107/0.3394, allocations: 24 kB / 1.063 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001409/0.3395, allocations: 31.98 kB / 1.063 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.703e-05/0.3396, allocations: 51.72 kB / 1.063 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002659/0.3399, allocations: 212.8 kB / 1.063 GB, free: 0.7578 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004968/0.3404, allocations: 463.1 kB / 1.064 GB, free: 312 kB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3404, allocations: 0 / 1.064 GB, free: 312 kB / 0.8106 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3404, allocations: 4 kB / 1.064 GB, free: 308 kB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.988e-05/0.3405, allocations: 0 / 1.064 GB, free: 308 kB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001014/0.3415, allocations: 0.6421 MB / 1.065 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.3415, allocations: 8.031 kB / 1.065 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001641/0.3417, allocations: 56.47 kB / 1.065 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001131/0.3428, allocations: 417.1 kB / 1.065 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.339e-05/0.3429, allocations: 28.8 kB / 1.065 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.827e-05/0.343, allocations: 36.38 kB / 1.065 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004477/0.3435, allocations: 251.8 kB / 1.065 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.3435, allocations: 3.938 kB / 1.065 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.863e-05/0.3435, allocations: 8 kB / 1.065 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.3435, allocations: 4 kB / 1.065 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002798/0.3438, allocations: 165.7 kB / 1.065 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001449/0.3453, allocations: 0.8451 MB / 1.066 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003454/0.3456, allocations: 222.7 kB / 1.066 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002803/0.3459, allocations: 212.6 kB / 1.067 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.686e-05/0.346, allocations: 4 kB / 1.067 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003583/0.3463, allocations: 248.5 kB / 1.067 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=28): time 1.984e-06/0.3463, allocations: 0 / 1.067 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of matching and sorting (n=28): time 0.0007354/0.3471, allocations: 430.9 kB / 1.067 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.762e-05/0.3472, allocations: 122.7 kB / 1.067 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003451/0.3475, allocations: 320.4 kB / 1.068 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 8.259e-05/0.3476, allocations: 37.7 kB / 1.068 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001577/0.3478, allocations: 176.5 kB / 1.068 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.471e-05/0.3479, allocations: 63.19 kB / 1.068 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/0.348, allocations: 69.67 kB / 1.068 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.3481, allocations: 346.8 kB / 1.068 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004109/0.3486, allocations: 212.6 kB / 1.069 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004531/0.349, allocations: 321 kB / 1.069 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006593/0.3497, allocations: 0.535 MB / 1.069 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.3497, allocations: 0 / 1.069 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001168/0.3509, allocations: 0.7365 MB / 1.07 GB, free: 9.434 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.473e-05/0.351, allocations: 122.8 kB / 1.07 GB, free: 9.289 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.351, allocations: 4 kB / 1.07 GB, free: 9.285 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.351, allocations: 4 kB / 1.07 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002272/0.3512, allocations: 59.91 kB / 1.07 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.452e-05/0.3513, allocations: 7.938 kB / 1.07 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007657/0.352, allocations: 171.7 kB / 1.071 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001142/0.3522, allocations: 67.92 kB / 1.071 GB, free: 8.98 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 45 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,conInt.y,conInt3.y,conInt2.y,extIndInt.u[4],extIndInt.u[1],extIndInt1.u[4],extIndInt2.u[4],extIndInt3.u[4],extIndInt4.u[4],extIndInt1.u[1],extIndInt2.u[1],extIndInt3.u[1],extIndInt4.u[1],intPul3.booPul.y,$PRE.intPul3.booPul.y,intPul3.y,intPul2.booPul.y,$PRE.intPul2.booPul.y,intPul2.y,intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul.booPul.y,$PRE.intPul.booPul.y,extIndInt4.y,extIndInt4.u[3],extIndInt4.u[2],extIndInt3.y,extIndInt3.u[3],extIndInt3.u[2],extIndInt2.y,extIndInt2.u[3],extIndInt2.u[2],extIndInt1.y,extIndInt1.u[3],extIndInt1.u[2],extIndInt.u[3],extIndInt.u[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 4 * 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.0002569/0.3524, allocations: 201.6 kB / 1.071 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.694e-05/0.3525, allocations: 31.62 kB / 1.071 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005654/0.3531, allocations: 365.6 kB / 1.071 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.3531, allocations: 4 kB / 1.071 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.629e-05/0.3531, allocations: 3.938 kB / 1.071 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.3531, allocations: 7.984 kB / 1.071 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009751/0.3541, allocations: 0.7486 MB / 1.072 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.3541, allocations: 0 / 1.072 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001301/0.3543, allocations: 39.86 kB / 1.072 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.3543, allocations: 0 / 1.072 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.012e-05/0.3543, allocations: 11.98 kB / 1.072 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.013e-06/0.3543, allocations: 4 kB / 1.072 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3543, allocations: 3.938 kB / 1.072 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005032/0.3548, allocations: 427 kB / 1.072 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.017e-05/0.3549, allocations: 116.6 kB / 1.072 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.053e-05/0.355, allocations: 8 kB / 1.072 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/0.3551, allocations: 18.31 kB / 1.073 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.137e-05/0.3552, allocations: 19.97 kB / 1.073 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.983e-05/0.3552, allocations: 15.94 kB / 1.073 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002211/0.3554, allocations: 215.1 kB / 1.073 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3554, allocations: 0 / 1.073 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004453/0.3559, allocations: 99.83 kB / 1.073 GB, free: 6.57 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 32 (extIndInt.u[2],extIndInt.u[3],$cse1,$cse2,$cse3,$cse4,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,extIndInt1.u[2],extIndInt1.u[3],extIndInt1.y,extIndInt2.u[2],extIndInt2.u[3],extIndInt2.y,extIndInt3.u[2],extIndInt3.u[3],extIndInt3.y,extIndInt4.u[2],extIndInt4.u[3],extIndInt4.y,intPul.booPul.y,intPul1.booPul.y,intPul2.y,intPul2.booPul.y,intPul3.y,intPul3.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0002235/0.3561, allocations: 125.5 kB / 1.073 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0009455/0.3571, allocations: 0.6736 MB / 1.074 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/0.3571, allocations: 3.984 kB / 1.074 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002098/0.3573, allocations: 152.6 kB / 1.074 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005456/0.3579, allocations: 76.98 kB / 1.074 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/0.3589, allocations: 0.6809 MB / 1.075 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003813/0.3593, allocations: 0.7811 MB / 1.075 GB, free: 3.965 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.96e-05/0.3594, allocations: 35.42 kB / 1.075 GB, free: 3.93 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.3594, allocations: 0 / 1.075 GB, free: 3.93 MB / 0.8262 GB Notification: Performance of Templates: time 0.008991/0.3684, allocations: 4.923 MB / 1.08 GB, free: 15.05 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches