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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.0008326/0.0008325, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.005961/0.005961, allocations: 168.7 kB / 16.26 MB, free: 6.652 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.456/1.456, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.928/2.928, allocations: 462.7 MB / 0.7364 GB, free: 300 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003686/0.0003686, allocations: 7.938 kB / 0.9028 GB, free: 36.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3532/0.3535, allocations: 159.6 MB / 1.059 GB, free: 5.477 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.001436/0.355, allocations: 0.8398 MB / 1.06 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002014/0.3571, allocations: 1.572 MB / 1.061 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.023e-05/0.3572, allocations: 0 / 1.061 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001193/0.3573, allocations: 23.8 kB / 1.061 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001016/0.3574, allocations: 43.62 kB / 1.061 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001058/0.3585, allocations: 458.7 kB / 1.062 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004404/0.3589, allocations: 0.5113 MB / 1.062 GB, free: 2.039 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002876/0.3592, allocations: 144.4 kB / 1.062 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001779/0.3594, allocations: 167.5 kB / 1.062 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001922/0.3596, allocations: 151.3 kB / 1.062 GB, free: 1.59 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.568e-05/0.3597, allocations: 20 kB / 1.063 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001/0.3598, allocations: 35.98 kB / 1.063 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.178e-05/0.3598, allocations: 55.7 kB / 1.063 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001883/0.36, allocations: 200.8 kB / 1.063 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000494/0.3605, allocations: 0.5726 MB / 1.063 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.3606, allocations: 4 kB / 1.063 GB, free: 0.6992 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3606, allocations: 0 / 1.063 GB, free: 0.6992 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.3606, allocations: 0 / 1.063 GB, free: 0.6992 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.000789/0.3614, allocations: 0.6382 MB / 1.064 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.3614, allocations: 12.03 kB / 1.064 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000109/0.3615, allocations: 44.47 kB / 1.064 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001025/0.3626, allocations: 422 kB / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.671e-05/0.3626, allocations: 24.81 kB / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.182e-05/0.3627, allocations: 36.38 kB / 1.064 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000397/0.3631, allocations: 247.8 kB / 1.065 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.3631, allocations: 7.938 kB / 1.065 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.639e-05/0.3632, allocations: 15.98 kB / 1.065 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.3632, allocations: 11.94 kB / 1.065 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002439/0.3634, allocations: 153.6 kB / 1.065 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001234/0.3647, allocations: 0.853 MB / 1.066 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003207/0.365, allocations: 218.7 kB / 1.066 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002566/0.3653, allocations: 205.7 kB / 1.066 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.399e-05/0.3653, allocations: 7.984 kB / 1.066 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003265/0.3656, allocations: 247.9 kB / 1.066 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=28): time 1.884e-06/0.3656, allocations: 0 / 1.066 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of matching and sorting (n=28): time 0.0007012/0.3663, allocations: 434.9 kB / 1.067 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.06e-05/0.3664, allocations: 110.8 kB / 1.067 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003161/0.3667, allocations: 324.3 kB / 1.067 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.748e-05/0.3668, allocations: 37.7 kB / 1.067 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001506/0.367, allocations: 184.5 kB / 1.067 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.055e-05/0.367, allocations: 67.12 kB / 1.067 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.822e-05/0.3671, allocations: 73.67 kB / 1.068 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.3672, allocations: 338.8 kB / 1.068 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003662/0.3676, allocations: 208.7 kB / 1.068 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004152/0.368, allocations: 321 kB / 1.068 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006147/0.3687, allocations: 0.5311 MB / 1.069 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.3687, allocations: 0 / 1.069 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001059/0.3697, allocations: 0.7325 MB / 1.07 GB, free: 9.848 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.5e-05/0.3698, allocations: 122.8 kB / 1.07 GB, free: 9.703 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/0.3699, allocations: 7.984 kB / 1.07 GB, free: 9.695 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.3699, allocations: 8 kB / 1.07 GB, free: 9.688 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000203/0.3701, allocations: 51.92 kB / 1.07 GB, free: 9.637 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.401e-05/0.3701, allocations: 15.86 kB / 1.07 GB, free: 9.621 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000727/0.3708, allocations: 175.9 kB / 1.07 GB, free: 9.449 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.614e-05/0.3709, allocations: 71.91 kB / 1.07 GB, free: 9.379 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.0002067/0.3712, allocations: 187.2 kB / 1.07 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.051e-05/0.3712, allocations: 27.62 kB / 1.07 GB, free: 9.164 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005382/0.3717, allocations: 373.1 kB / 1.071 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.97e-06/0.3718, allocations: 4 kB / 1.071 GB, free: 8.789 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.3718, allocations: 3.938 kB / 1.071 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.3718, allocations: 0 / 1.071 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008408/0.3726, allocations: 0.7447 MB / 1.071 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.3726, allocations: 3.984 kB / 1.071 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001235/0.3728, allocations: 43.86 kB / 1.071 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.3728, allocations: 3.938 kB / 1.071 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.013e-05/0.3728, allocations: 8 kB / 1.071 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.3728, allocations: 0 / 1.071 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3728, allocations: 7.938 kB / 1.071 GB, free: 7.918 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004545/0.3733, allocations: 431.7 kB / 1.072 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.938e-05/0.3734, allocations: 112.6 kB / 1.072 GB, free: 7.352 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.703e-05/0.3734, allocations: 11.92 kB / 1.072 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001277/0.3735, allocations: 9.828 kB / 1.072 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.594e-05/0.3736, allocations: 23.97 kB / 1.072 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.922e-05/0.3736, allocations: 15.98 kB / 1.072 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001937/0.3738, allocations: 211.1 kB / 1.072 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3738, allocations: 0 / 1.072 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004032/0.3742, allocations: 103.8 kB / 1.072 GB, free: 6.988 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.0001937/0.3744, allocations: 125.4 kB / 1.072 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0008283/0.3753, allocations: 0.6653 MB / 1.073 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.3753, allocations: 0.8125 kB / 1.073 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001855/0.3755, allocations: 147.8 kB / 1.073 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005282/0.376, allocations: 80.97 kB / 1.073 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000933/0.377, allocations: 0.6515 MB / 1.074 GB, free: 5.238 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003356/0.3773, allocations: 0.7694 MB / 1.075 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001709/0.3775, allocations: 79.2 kB / 1.075 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.179e-05/0.3776, allocations: 35.44 kB / 1.075 GB, free: 4.332 MB / 0.8262 GB Notification: Performance of SimCode: time 3.6e-07/0.3776, allocations: 4 kB / 1.075 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of Templates: time 0.01009/0.3877, allocations: 5.23 MB / 1.08 GB, free: 15.17 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/jenkins/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