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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000913/0.000913, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8611/0.8611, allocations: 177.2 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.721/1.721, allocations: 389 MB / 0.633 GB, free: 12.67 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.772e-05/1.98e-05, allocations: 6.281 kB / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.001699/0.001719, allocations: 1.08 MB / 1.001 GB, free: 12.41 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001726/0.003445, allocations: 1.54 MB / 1.002 GB, free: 10.85 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.929e-05/0.003544, allocations: 7.938 kB / 1.002 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001274/0.003671, allocations: 27.61 kB / 1.002 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 8.547e-05/0.003757, allocations: 63.5 kB / 1.002 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007596/0.004516, allocations: 498.4 kB / 1.003 GB, free: 10.28 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0003898/0.004906, allocations: 0.601 MB / 1.003 GB, free: 9.676 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002122/0.005118, allocations: 100.9 kB / 1.003 GB, free: 9.578 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002258/0.005344, allocations: 335.5 kB / 1.004 GB, free: 9.25 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001727/0.005517, allocations: 167.5 kB / 1.004 GB, free: 9.086 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 5.46e-05/0.005571, allocations: 60 kB / 1.004 GB, free: 9.027 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 9.098e-05/0.005662, allocations: 75.98 kB / 1.004 GB, free: 8.953 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 6.744e-05/0.00573, allocations: 75.69 kB / 1.004 GB, free: 8.879 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001298/0.00586, allocations: 171.7 kB / 1.004 GB, free: 8.711 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0004467/0.006306, allocations: 0.705 MB / 1.005 GB, free: 8.004 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.006309, allocations: 0 / 1.005 GB, free: 8.004 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.242e-06/0.00631, allocations: 0 / 1.005 GB, free: 8.004 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.006315, allocations: 0 / 1.005 GB, free: 8.004 MB / 0.9636 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.0006409/0.006956, allocations: 0.6834 MB / 1.006 GB, free: 7.262 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.006999, allocations: 8.75 kB / 1.006 GB, free: 7.254 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.854e-05/0.007047, allocations: 54.73 kB / 1.006 GB, free: 7.191 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.688e-05/0.007124, allocations: 44.75 kB / 1.006 GB, free: 7.148 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005806/0.007705, allocations: 337.1 kB / 1.006 GB, free: 6.797 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.486e-05/0.00773, allocations: 24.88 kB / 1.006 GB, free: 6.773 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.309e-05/0.007773, allocations: 44.36 kB / 1.006 GB, free: 6.73 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003069/0.00808, allocations: 385 kB / 1.007 GB, free: 6.32 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.008088, allocations: 192 / 1.007 GB, free: 6.32 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/0.008104, allocations: 8.375 kB / 1.007 GB, free: 6.312 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.008111, allocations: 7.938 kB / 1.007 GB, free: 6.305 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001653/0.008276, allocations: 153.9 kB / 1.007 GB, free: 6.152 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008201/0.009096, allocations: 0.7239 MB / 1.007 GB, free: 5.387 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00023/0.009326, allocations: 214.7 kB / 1.008 GB, free: 5.168 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001704/0.009497, allocations: 192.8 kB / 1.008 GB, free: 4.977 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.133e-05/0.009508, allocations: 0 / 1.008 GB, free: 4.977 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002387/0.009747, allocations: 358.7 kB / 1.008 GB, free: 4.578 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=28): time 1.002e-06/0.009748, allocations: 0 / 1.008 GB, free: 4.578 MB / 0.9636 GB Notification: Performance of matching and sorting (n=28): time 0.0004779/0.01023, allocations: 435.1 kB / 1.009 GB, free: 4.148 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.921e-05/0.01027, allocations: 106.8 kB / 1.009 GB, free: 4.02 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002051/0.01048, allocations: 328.3 kB / 1.009 GB, free: 3.688 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 3.714e-05/0.01052, allocations: 45.64 kB / 1.009 GB, free: 3.637 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 9.858e-05/0.01062, allocations: 184.8 kB / 1.009 GB, free: 3.453 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.406e-05/0.01065, allocations: 63.58 kB / 1.009 GB, free: 3.391 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001311/0.01078, allocations: 142 kB / 1.009 GB, free: 3.242 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.381e-05/0.01087, allocations: 346.7 kB / 1.01 GB, free: 2.895 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000285/0.01116, allocations: 335.5 kB / 1.01 GB, free: 2.543 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003395/0.0115, allocations: 0.4995 MB / 1.011 GB, free: 1.953 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004043/0.0119, allocations: 0.5272 MB / 1.011 GB, free: 1.355 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.01191, allocations: 4 kB / 1.011 GB, free: 1.352 MB / 0.9636 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0007504/0.01266, allocations: 0.8682 MB / 1.012 GB, free: 440 kB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 6.771e-05/0.01273, allocations: 126.8 kB / 1.012 GB, free: 288 kB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.01273, allocations: 4 kB / 1.012 GB, free: 284 kB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.01275, allocations: 4 kB / 1.012 GB, free: 280 kB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.01287, allocations: 63.84 kB / 1.012 GB, free: 216 kB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.01288, allocations: 4 kB / 1.012 GB, free: 212 kB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003134/0.01319, allocations: 143.9 kB / 1.012 GB, free: 68 kB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.909e-05/0.01326, allocations: 71.84 kB / 1.012 GB, free: 15.99 MB / 0.9792 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.0001503/0.01341, allocations: 185.7 kB / 1.012 GB, free: 15.8 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.642e-05/0.01344, allocations: 35.8 kB / 1.013 GB, free: 15.77 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003526/0.01379, allocations: 365.2 kB / 1.013 GB, free: 15.4 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.01379, allocations: 0 / 1.013 GB, free: 15.4 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.0138, allocations: 4 kB / 1.013 GB, free: 15.4 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.0138, allocations: 0 / 1.013 GB, free: 15.4 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005986/0.0144, allocations: 0.7054 MB / 1.014 GB, free: 14.64 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.0144, allocations: 0 / 1.014 GB, free: 14.64 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.786e-05/0.01447, allocations: 31.98 kB / 1.014 GB, free: 14.61 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.01447, allocations: 4 kB / 1.014 GB, free: 14.61 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.01449, allocations: 11.92 kB / 1.014 GB, free: 14.6 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.01449, allocations: 7.984 kB / 1.014 GB, free: 14.59 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.01449, allocations: 0 / 1.014 GB, free: 14.59 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003005/0.01479, allocations: 433.5 kB / 1.014 GB, free: 14.15 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 2.786e-05/0.01482, allocations: 35.7 kB / 1.014 GB, free: 14.12 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.541e-05/0.01484, allocations: 11.94 kB / 1.014 GB, free: 14.11 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.685e-05/0.01492, allocations: 15.98 kB / 1.014 GB, free: 14.09 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.214e-05/0.01496, allocations: 23.97 kB / 1.014 GB, free: 14.07 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.554e-05/0.01498, allocations: 15.98 kB / 1.014 GB, free: 14.05 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0001327/0.01511, allocations: 211.1 kB / 1.014 GB, free: 13.84 MB / 0.9792 GB Notification: Performance of sort global known variables: time 6e-08/0.01511, allocations: 0 / 1.014 GB, free: 13.84 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.000251/0.01536, allocations: 95.89 kB / 1.014 GB, free: 13.75 MB / 0.9792 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.000612/0.01597, allocations: 0.9913 MB / 1.015 GB, free: 12.73 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0005655/0.01654, allocations: 0.7466 MB / 1.016 GB, free: 11.91 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.01654, allocations: 4 kB / 1.016 GB, free: 11.91 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0001175/0.01666, allocations: 140.3 kB / 1.016 GB, free: 11.77 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000306/0.01697, allocations: 73.8 kB / 1.016 GB, free: 11.7 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003362/0.02033, allocations: 4.341 MB / 1.021 GB, free: 7.078 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001053/0.02043, allocations: 182.1 kB / 1.021 GB, free: 6.883 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0001019/0.02054, allocations: 75.17 kB / 1.021 GB, free: 6.809 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001015/0.02064, allocations: 112.5 kB / 1.021 GB, free: 6.695 MB / 0.9792 GB Notification: Performance of SimCode: time 5.01e-07/0.02064, allocations: 0 / 1.021 GB, free: 6.695 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01943/0.04007, allocations: 9.729 MB / 1.03 GB, free: 13.24 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.659/6.699, allocations: 8.672 kB / 1.03 GB, free: 13.23 MB / 0.9948 GB " [Timeout remaining time 293] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe 2>&1) [Timeout 840.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.706115596927702]