Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001905/0.001905, allocations: 103.6 kB / 18.95 MB, free: 2.66 MB / 14.72 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.002404/0.002404, allocations: 216.6 kB / 22.24 MB, free: 5.258 MB / 14.72 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 1.479/1.479, allocations: 230.6 MB / 256 MB, free: 7.828 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.196/3.196, allocations: 0.49 GB / 0.7951 GB, free: 35.5 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00216/0.00216, allocations: 69.34 kB / 1.154 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3463/0.3484, allocations: 176.1 MB / 1.326 GB, free: 1.543 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.002489/0.3509, allocations: 1.088 MB / 1.327 GB, free: 468 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002067/0.353, allocations: 1.525 MB / 1.328 GB, free: 14.92 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.9e-05/0.3531, allocations: 7.938 kB / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001503/0.3532, allocations: 35.59 kB / 1.328 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001271/0.3534, allocations: 67.5 kB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001114/0.3545, allocations: 490.6 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006274/0.3551, allocations: 0.5893 MB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002554/0.3554, allocations: 104.9 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002602/0.3556, allocations: 239.4 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002928/0.3559, allocations: 211.3 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.678e-05/0.356, allocations: 60 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001318/0.3561, allocations: 75.97 kB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.732e-05/0.3562, allocations: 79.7 kB / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000225/0.3565, allocations: 191.3 kB / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006588/0.3571, allocations: 0.6345 MB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3571, allocations: 0 / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.072e-06/0.3571, allocations: 0 / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.505e-06/0.3571, allocations: 0 / 1.331 GB, free: 12.16 MB / 1.029 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.001065/0.3582, allocations: 0.6717 MB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.3582, allocations: 12.03 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.648e-05/0.3583, allocations: 58.72 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001113/0.3584, allocations: 44.7 kB / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001048/0.3595, allocations: 337.8 kB / 1.332 GB, free: 10.96 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.195e-05/0.3595, allocations: 24.8 kB / 1.332 GB, free: 10.93 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.59e-05/0.3596, allocations: 36.38 kB / 1.332 GB, free: 10.9 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000485/0.3601, allocations: 388 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.3601, allocations: 0 / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.486e-05/0.3601, allocations: 8 kB / 1.333 GB, free: 10.47 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.3601, allocations: 4 kB / 1.333 GB, free: 10.47 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000261/0.3604, allocations: 161.7 kB / 1.333 GB, free: 10.31 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001289/0.3617, allocations: 0.7236 MB / 1.333 GB, free: 9.543 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003272/0.362, allocations: 212.8 kB / 1.334 GB, free: 9.328 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000268/0.3623, allocations: 196.7 kB / 1.334 GB, free: 9.133 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.437e-05/0.3623, allocations: 4 kB / 1.334 GB, free: 9.129 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003917/0.3627, allocations: 347.6 kB / 1.334 GB, free: 8.742 MB / 1.029 GB Notification: Performance of pre-optimization done (n=28): time 1.703e-06/0.3627, allocations: 4 kB / 1.334 GB, free: 8.738 MB / 1.029 GB Notification: Performance of matching and sorting (n=28): time 0.0007804/0.3634, allocations: 435.1 kB / 1.335 GB, free: 8.309 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.88e-05/0.3635, allocations: 118.8 kB / 1.335 GB, free: 8.168 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003647/0.3639, allocations: 336.2 kB / 1.335 GB, free: 7.832 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.634e-05/0.364, allocations: 41.69 kB / 1.335 GB, free: 7.785 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001857/0.3642, allocations: 172.8 kB / 1.335 GB, free: 7.613 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.786e-05/0.3642, allocations: 63.52 kB / 1.335 GB, free: 7.551 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000251/0.3645, allocations: 146 kB / 1.335 GB, free: 7.398 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001629/0.3647, allocations: 342.8 kB / 1.336 GB, free: 7.055 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004698/0.3651, allocations: 339.5 kB / 1.336 GB, free: 6.699 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006061/0.3657, allocations: 0.503 MB / 1.337 GB, free: 6.113 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007005/0.3664, allocations: 0.5311 MB / 1.337 GB, free: 5.512 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.3664, allocations: 0 / 1.337 GB, free: 5.512 MB / 1.029 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001365/0.3678, allocations: 0.8765 MB / 1.338 GB, free: 4.582 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001387/0.3679, allocations: 123.2 kB / 1.338 GB, free: 4.438 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/0.368, allocations: 11.94 kB / 1.338 GB, free: 4.426 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.26e-05/0.368, allocations: 4 kB / 1.338 GB, free: 4.422 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002635/0.3683, allocations: 63.84 kB / 1.338 GB, free: 4.359 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/0.3683, allocations: 4 kB / 1.338 GB, free: 4.355 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007026/0.369, allocations: 127.6 kB / 1.338 GB, free: 4.23 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000128/0.3691, allocations: 67.86 kB / 1.338 GB, free: 4.164 MB / 1.029 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.0002897/0.3694, allocations: 197.7 kB / 1.339 GB, free: 3.961 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.807e-05/0.3694, allocations: 31.81 kB / 1.339 GB, free: 3.93 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006249/0.3701, allocations: 369.5 kB / 1.339 GB, free: 3.559 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.228e-06/0.3701, allocations: 7.938 kB / 1.339 GB, free: 3.551 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.3701, allocations: 0 / 1.339 GB, free: 3.551 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.3701, allocations: 3.984 kB / 1.339 GB, free: 3.547 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001083/0.3712, allocations: 0.693 MB / 1.34 GB, free: 2.805 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.3712, allocations: 3.938 kB / 1.34 GB, free: 2.801 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000142/0.3713, allocations: 39.91 kB / 1.34 GB, free: 2.762 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.3713, allocations: 4 kB / 1.34 GB, free: 2.758 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.041e-05/0.3713, allocations: 8 kB / 1.34 GB, free: 2.75 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.3714, allocations: 0 / 1.34 GB, free: 2.75 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.3714, allocations: 0 / 1.34 GB, free: 2.75 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005644/0.3719, allocations: 432.7 kB / 1.34 GB, free: 2.312 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.192e-05/0.372, allocations: 39.64 kB / 1.34 GB, free: 2.273 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.398e-05/0.372, allocations: 8 kB / 1.34 GB, free: 2.266 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/0.3722, allocations: 11.98 kB / 1.34 GB, free: 2.254 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.585e-05/0.3722, allocations: 23.95 kB / 1.34 GB, free: 2.23 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-05/0.3723, allocations: 11.94 kB / 1.34 GB, free: 2.219 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002592/0.3725, allocations: 219.1 kB / 1.34 GB, free: 2.004 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3725, allocations: 4 kB / 1.34 GB, free: 2 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005031/0.373, allocations: 95.88 kB / 1.34 GB, free: 1.906 MB / 1.029 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.00107/0.3741, allocations: 0.9796 MB / 1.341 GB, free: 0.8945 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001248/0.3753, allocations: 0.7434 MB / 1.342 GB, free: 80 kB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.3753, allocations: 8.062 kB / 1.342 GB, free: 72 kB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000226/0.3756, allocations: 132.4 kB / 1.342 GB, free: 15.94 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000574/0.3761, allocations: 86.84 kB / 1.342 GB, free: 15.86 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005373/0.3815, allocations: 4.356 MB / 1.347 GB, free: 11.21 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001702/0.3817, allocations: 177.5 kB / 1.347 GB, free: 11.03 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001926/0.3819, allocations: 75.22 kB / 1.347 GB, free: 10.95 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001519/0.382, allocations: 115.4 kB / 1.347 GB, free: 10.84 MB / 1.045 GB Notification: Performance of SimCode: time 7.01e-07/0.382, allocations: 0 / 1.347 GB, free: 10.84 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03783/0.4199, allocations: 9.656 MB / 1.356 GB, free: 1.457 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/12.05, allocations: 2.234 kB / 1.356 GB, free: 1.457 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.860387039982015]