Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor,fileNamePrefix="Buildings_10_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.0009971/0.000997, allocations: 94.91 kB / 15.37 MB, free: 0.7266 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.001205/0.001205, allocations: 177.2 kB / 16.27 MB, free: 6.664 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.314/1.314, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.513/2.513, allocations: 437.8 MB / 0.7121 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004855/0.0004855, allocations: 8 kB / 0.873 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6075/0.608, allocations: 153.8 MB / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.001488/0.6096, allocations: 0.8423 MB / 1.024 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002725/0.6123, allocations: 1.565 MB / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000203/0.6126, allocations: 4 kB / 1.025 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001578/0.6127, allocations: 15.8 kB / 1.026 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001924/0.6129, allocations: 47.62 kB / 1.026 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.00129/0.6142, allocations: 465.7 kB / 1.026 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005616/0.6148, allocations: 0.5152 MB / 1.027 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002908/0.6151, allocations: 140.5 kB / 1.027 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002872/0.6154, allocations: 171.5 kB / 1.027 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002354/0.6157, allocations: 147.3 kB / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001034/0.6158, allocations: 20 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001257/0.6159, allocations: 35.98 kB / 1.027 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.762e-05/0.616, allocations: 47.78 kB / 1.027 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002357/0.6162, allocations: 212.7 kB / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000632/0.6169, allocations: 0.5745 MB / 1.028 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.6169, allocations: 0 / 1.028 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.813e-06/0.6169, allocations: 0 / 1.028 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.032e-05/0.6169, allocations: 0 / 1.028 GB, free: 11.06 MB / 0.7794 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.001128/0.618, allocations: 0.6498 MB / 1.028 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/0.6181, allocations: 8.031 kB / 1.028 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001041/0.6182, allocations: 58.72 kB / 1.029 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001567/0.6184, allocations: 48.47 kB / 1.029 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001144/0.6195, allocations: 411.9 kB / 1.029 GB, free: 9.773 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.597e-05/0.6196, allocations: 28.8 kB / 1.029 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.947e-05/0.6197, allocations: 32.38 kB / 1.029 GB, free: 9.711 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004378/0.6201, allocations: 259.5 kB / 1.029 GB, free: 9.457 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.6202, allocations: 0 / 1.029 GB, free: 9.457 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.787e-05/0.6202, allocations: 15.98 kB / 1.029 GB, free: 9.441 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.6202, allocations: 4 kB / 1.029 GB, free: 9.438 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002495/0.6205, allocations: 157.6 kB / 1.029 GB, free: 9.281 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001348/0.6218, allocations: 0.849 MB / 1.03 GB, free: 8.383 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003429/0.6222, allocations: 226.7 kB / 1.03 GB, free: 8.152 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002731/0.6225, allocations: 204.8 kB / 1.031 GB, free: 7.949 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.838e-06/0.6225, allocations: 0 / 1.031 GB, free: 7.949 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003471/0.6228, allocations: 253 kB / 1.031 GB, free: 7.684 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=28): time 1.443e-06/0.6228, allocations: 0 / 1.031 GB, free: 7.684 MB / 0.7794 GB Notification: Performance of matching and sorting (n=28): time 0.0007163/0.6236, allocations: 432.4 kB / 1.031 GB, free: 7.258 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.201e-05/0.6237, allocations: 114.7 kB / 1.031 GB, free: 7.121 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003629/0.624, allocations: 324.2 kB / 1.032 GB, free: 6.793 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 6.141e-05/0.6241, allocations: 41.7 kB / 1.032 GB, free: 6.746 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001601/0.6243, allocations: 180.5 kB / 1.032 GB, free: 6.566 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.388e-05/0.6243, allocations: 59.27 kB / 1.032 GB, free: 6.508 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001116/0.6244, allocations: 65.67 kB / 1.032 GB, free: 6.438 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.6246, allocations: 350.8 kB / 1.032 GB, free: 6.086 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003904/0.625, allocations: 204.7 kB / 1.033 GB, free: 5.883 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004796/0.6255, allocations: 328.9 kB / 1.033 GB, free: 5.508 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006666/0.6261, allocations: 0.5271 MB / 1.033 GB, free: 4.91 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.6262, allocations: 7.938 kB / 1.033 GB, free: 4.902 MB / 0.7794 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.00118/0.6273, allocations: 0.7369 MB / 1.034 GB, free: 4.137 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.428e-05/0.6275, allocations: 122.8 kB / 1.034 GB, free: 3.992 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.6275, allocations: 4 kB / 1.034 GB, free: 3.988 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.6275, allocations: 4 kB / 1.034 GB, free: 3.984 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002329/0.6277, allocations: 64.25 kB / 1.034 GB, free: 3.922 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/0.6278, allocations: 8 kB / 1.034 GB, free: 3.914 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007375/0.6285, allocations: 175.4 kB / 1.035 GB, free: 3.742 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001068/0.6286, allocations: 67.86 kB / 1.035 GB, free: 3.676 MB / 0.7794 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.0002205/0.6288, allocations: 185.8 kB / 1.035 GB, free: 3.484 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.926e-05/0.6289, allocations: 35.62 kB / 1.035 GB, free: 3.449 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005365/0.6294, allocations: 369.3 kB / 1.035 GB, free: 3.082 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.6295, allocations: 7.938 kB / 1.035 GB, free: 3.074 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.6295, allocations: 0 / 1.035 GB, free: 3.074 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.044e-06/0.6295, allocations: 7.969 kB / 1.035 GB, free: 3.066 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008924/0.6304, allocations: 0.7442 MB / 1.036 GB, free: 2.266 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.6304, allocations: 3.938 kB / 1.036 GB, free: 2.262 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001286/0.6305, allocations: 43.92 kB / 1.036 GB, free: 2.219 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.6305, allocations: 3.938 kB / 1.036 GB, free: 2.215 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.826e-05/0.6306, allocations: 11.98 kB / 1.036 GB, free: 2.203 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.6306, allocations: 0 / 1.036 GB, free: 2.203 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.6306, allocations: 0 / 1.036 GB, free: 2.203 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004657/0.631, allocations: 431.5 kB / 1.036 GB, free: 1.766 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.189e-05/0.6311, allocations: 112.6 kB / 1.036 GB, free: 1.637 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.142e-05/0.6312, allocations: 8 kB / 1.036 GB, free: 1.629 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001315/0.6313, allocations: 14.52 kB / 1.036 GB, free: 1.617 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.701e-05/0.6314, allocations: 19.97 kB / 1.037 GB, free: 1.598 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.995e-05/0.6314, allocations: 12 kB / 1.037 GB, free: 1.586 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002023/0.6316, allocations: 219 kB / 1.037 GB, free: 1.375 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6316, allocations: 4 kB / 1.037 GB, free: 1.371 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004183/0.632, allocations: 95.89 kB / 1.037 GB, free: 1.277 MB / 0.7794 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.0008224/0.6329, allocations: 0.9797 MB / 1.038 GB, free: 276 kB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000864/0.6337, allocations: 0.6736 MB / 1.038 GB, free: 15.55 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.6338, allocations: 0 / 1.038 GB, free: 15.55 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001877/0.6339, allocations: 152.3 kB / 1.039 GB, free: 15.4 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005201/0.6345, allocations: 79.98 kB / 1.039 GB, free: 15.32 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004904/0.6394, allocations: 3.899 MB / 1.042 GB, free: 11.25 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003707/0.6398, allocations: 0.7768 MB / 1.043 GB, free: 10.44 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.000187/0.64, allocations: 75.22 kB / 1.043 GB, free: 10.37 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001453/0.6401, allocations: 111.4 kB / 1.043 GB, free: 10.26 MB / 0.795 GB Notification: Performance of SimCode: time 7.72e-07/0.6401, allocations: 0 / 1.043 GB, free: 10.26 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02471/0.6649, allocations: 7.916 MB / 1.051 GB, free: 2.57 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002196/0.6651, allocations: 213.4 kB / 1.051 GB, free: 2.32 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.818/2.483, allocations: 0 / 1.051 GB, free: 2.32 MB / 0.795 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches