Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01333/0.01333, allocations: 100.6 kB / 15.73 MB, free: 6.012 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.00215/0.00215, allocations: 196.9 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.599/2.599, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 3.552/3.552, allocations: 390.3 MB / 0.6648 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002157/0.002157, allocations: 67.89 kB / 0.9504 GB, free: 8.125 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.667/1.669, allocations: 140.4 MB / 1.087 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.003737/1.673, allocations: 1.158 MB / 1.089 GB, free: 4.5 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003328/1.677, allocations: 1.502 MB / 1.09 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002269/1.677, allocations: 3.531 kB / 1.09 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002376/1.677, allocations: 28.98 kB / 1.09 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001956/1.677, allocations: 56.69 kB / 1.09 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002247/1.68, allocations: 491 kB / 1.091 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001409/1.681, allocations: 0.6239 MB / 1.091 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005093/1.681, allocations: 149.6 kB / 1.091 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005499/1.682, allocations: 226.8 kB / 1.092 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005634/1.683, allocations: 215.2 kB / 1.092 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002095/1.683, allocations: 60.03 kB / 1.092 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002789/1.683, allocations: 77.83 kB / 1.092 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001725/1.683, allocations: 71.42 kB / 1.092 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004186/1.684, allocations: 228.9 kB / 1.092 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001365/1.685, allocations: 0.6231 MB / 1.093 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.917e-06/1.685, allocations: 8 kB / 1.093 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.146e-06/1.685, allocations: 0.875 kB / 1.093 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.309e-05/1.685, allocations: 0 / 1.093 GB, free: 2.094 MB / 0.8575 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.001456/1.687, allocations: 0.7433 MB / 1.094 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 7.32e-05/1.687, allocations: 10.42 kB / 1.094 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001045/1.687, allocations: 60.64 kB / 1.094 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001923/1.687, allocations: 44.25 kB / 1.094 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001515/1.689, allocations: 406.8 kB / 1.094 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.722e-05/1.689, allocations: 25.8 kB / 1.094 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001393/1.689, allocations: 40.36 kB / 1.094 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007615/1.69, allocations: 247.6 kB / 1.094 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/1.69, allocations: 0 / 1.094 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.151e-05/1.69, allocations: 12.44 kB / 1.094 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.792e-05/1.69, allocations: 5.5 kB / 1.094 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004831/1.69, allocations: 157 kB / 1.095 GB, free: 0.9141 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002282/1.692, allocations: 0.8492 MB / 1.095 GB, free: 424 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000568/1.693, allocations: 222 kB / 1.096 GB, free: 340 kB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004821/1.694, allocations: 205.4 kB / 1.096 GB, free: 280 kB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.353e-05/1.694, allocations: 6.719 kB / 1.096 GB, free: 276 kB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006007/1.694, allocations: 252.1 kB / 1.096 GB, free: 148 kB / 0.8575 GB Notification: Performance of pre-optimization done (n=28): time 2.645e-06/1.694, allocations: 0 / 1.096 GB, free: 148 kB / 0.8575 GB Notification: Performance of matching and sorting (n=28): time 0.00129/1.696, allocations: 428.5 kB / 1.096 GB, free: 4 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001455/1.696, allocations: 116.6 kB / 1.097 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000613/1.696, allocations: 324.1 kB / 1.097 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001185/1.696, allocations: 39.27 kB / 1.097 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002567/1.697, allocations: 188 kB / 1.097 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 8.532e-05/1.697, allocations: 57.83 kB / 1.097 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003984/1.697, allocations: 144.7 kB / 1.097 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002031/1.697, allocations: 342.2 kB / 1.098 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006452/1.698, allocations: 212.1 kB / 1.098 GB, free: 15 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007987/1.699, allocations: 335.3 kB / 1.098 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001082/1.7, allocations: 0.5292 MB / 1.099 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.149e-06/1.7, allocations: 1.125 kB / 1.099 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.002058/1.702, allocations: 0.7394 MB / 1.099 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001532/1.702, allocations: 125.1 kB / 1.099 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.045e-05/1.702, allocations: 8.438 kB / 1.099 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.212e-05/1.702, allocations: 4.969 kB / 1.099 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003302/1.703, allocations: 54.64 kB / 1.1 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.867e-05/1.703, allocations: 5.875 kB / 1.1 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001141/1.704, allocations: 135.8 kB / 1.1 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002055/1.704, allocations: 72.17 kB / 1.1 GB, free: 13.87 MB / 0.8731 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.0004354/1.704, allocations: 187.6 kB / 1.1 GB, free: 13.72 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.649e-05/1.705, allocations: 32.59 kB / 1.1 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001035/1.706, allocations: 376 kB / 1.1 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/1.706, allocations: 7.719 kB / 1.1 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.876e-06/1.706, allocations: 5.031 kB / 1.1 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.114e-05/1.706, allocations: 2.297 kB / 1.1 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001893/1.708, allocations: 0.7444 MB / 1.101 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/1.708, allocations: 0 / 1.101 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002371/1.708, allocations: 36.88 kB / 1.101 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.889e-06/1.708, allocations: 1.656 kB / 1.101 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.464e-05/1.708, allocations: 8.266 kB / 1.101 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.955e-06/1.708, allocations: 1.812 kB / 1.101 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/1.708, allocations: 4.5 kB / 1.101 GB, free: 13.08 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009401/1.709, allocations: 434.2 kB / 1.101 GB, free: 12.85 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000168/1.709, allocations: 115 kB / 1.102 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.309e-05/1.709, allocations: 7.562 kB / 1.102 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002232/1.709, allocations: 10.61 kB / 1.102 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.87e-05/1.709, allocations: 21.44 kB / 1.102 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.387e-05/1.71, allocations: 9.453 kB / 1.102 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004041/1.71, allocations: 225.8 kB / 1.102 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.7e-07/1.71, allocations: 0 / 1.102 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0009619/1.711, allocations: 91.16 kB / 1.102 GB, free: 12.58 MB / 0.8731 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.001398/1.712, allocations: 0.9892 MB / 1.103 GB, free: 11.81 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001603/1.714, allocations: 0.6709 MB / 1.104 GB, free: 11.41 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/1.714, allocations: 0 / 1.104 GB, free: 11.41 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003424/1.714, allocations: 142.5 kB / 1.104 GB, free: 11.38 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008957/1.715, allocations: 82.33 kB / 1.104 GB, free: 11.34 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009398/1.725, allocations: 3.823 MB / 1.108 GB, free: 8.965 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007878/1.726, allocations: 0.7841 MB / 1.108 GB, free: 8.258 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0004276/1.726, allocations: 75.38 kB / 1.108 GB, free: 8.25 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002643/1.726, allocations: 112.2 kB / 1.108 GB, free: 8.176 MB / 0.8731 GB Notification: Performance of SimCode: time 1.724e-06/1.726, allocations: 0 / 1.108 GB, free: 8.176 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05684/1.783, allocations: 8.434 MB / 1.117 GB, free: 7.32 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.88/14.66, allocations: 8.953 kB / 1.117 GB, free: 7.312 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches