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.001611/0.001611, allocations: 107.2 kB / 16.45 MB, free: 6.508 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.002606/0.002606, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.53/1.53, allocations: 230.6 MB / 252.8 MB, free: 9.117 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.228/3.228, allocations: 0.49 GB / 0.7916 GB, free: 33.24 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.00209/0.00209, allocations: 72.44 kB / 1.149 GB, free: 26.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.382/0.3841, allocations: 176.1 MB / 1.321 GB, free: 3.32 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.004127/0.3882, allocations: 1.154 MB / 1.322 GB, free: 2.164 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002997/0.3912, allocations: 1.533 MB / 1.323 GB, free: 0.6172 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003382/0.3916, allocations: 3.938 kB / 1.323 GB, free: 0.6133 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0002953/0.3918, allocations: 39.59 kB / 1.323 GB, free: 0.5742 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0003459/0.3922, allocations: 63.5 kB / 1.324 GB, free: 0.5117 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001894/0.3941, allocations: 495.5 kB / 1.324 GB, free: 40 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001005/0.3951, allocations: 0.5894 MB / 1.325 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003263/0.3954, allocations: 124.4 kB / 1.325 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004124/0.3958, allocations: 235.4 kB / 1.325 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004385/0.3963, allocations: 211.2 kB / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001745/0.3964, allocations: 60 kB / 1.325 GB, free: 14.83 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000212/0.3967, allocations: 71.98 kB / 1.325 GB, free: 14.76 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001226/0.3968, allocations: 83.69 kB / 1.325 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003404/0.3971, allocations: 215.1 kB / 1.326 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001001/0.3981, allocations: 0.6306 MB / 1.326 GB, free: 13.83 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.3981, allocations: 0 / 1.326 GB, free: 13.83 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.224e-06/0.3981, allocations: 4 kB / 1.326 GB, free: 13.83 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.613e-05/0.3982, allocations: 4 kB / 1.326 GB, free: 13.82 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.001486/0.3996, allocations: 0.747 MB / 1.327 GB, free: 13 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.167e-05/0.3997, allocations: 11.98 kB / 1.327 GB, free: 12.99 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001096/0.3998, allocations: 58.73 kB / 1.327 GB, free: 12.92 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001555/0.4, allocations: 44.7 kB / 1.327 GB, free: 12.88 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001147/0.4011, allocations: 408.1 kB / 1.327 GB, free: 12.44 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.56e-05/0.4012, allocations: 24.81 kB / 1.327 GB, free: 12.41 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.463e-05/0.4012, allocations: 40.36 kB / 1.327 GB, free: 12.38 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004609/0.4017, allocations: 259.5 kB / 1.328 GB, free: 12.11 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.4017, allocations: 0 / 1.328 GB, free: 12.11 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.711e-05/0.4017, allocations: 8 kB / 1.328 GB, free: 12.11 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.156e-05/0.4018, allocations: 4 kB / 1.328 GB, free: 12.1 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002864/0.402, allocations: 157.7 kB / 1.328 GB, free: 11.95 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001464/0.4035, allocations: 0.8492 MB / 1.329 GB, free: 11.05 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003758/0.4039, allocations: 214.7 kB / 1.329 GB, free: 10.83 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002958/0.4042, allocations: 200.6 kB / 1.329 GB, free: 10.63 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.528e-05/0.4042, allocations: 0 / 1.329 GB, free: 10.63 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003728/0.4046, allocations: 247.9 kB / 1.329 GB, free: 10.36 MB / 1.029 GB Notification: Performance of pre-optimization done (n=28): time 1.933e-06/0.4046, allocations: 3.938 kB / 1.329 GB, free: 10.36 MB / 1.029 GB Notification: Performance of matching and sorting (n=28): time 0.0007947/0.4054, allocations: 423.2 kB / 1.33 GB, free: 9.941 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.651e-05/0.4055, allocations: 126.7 kB / 1.33 GB, free: 9.793 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004017/0.4059, allocations: 324.3 kB / 1.33 GB, free: 9.465 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.114e-05/0.4059, allocations: 41.7 kB / 1.33 GB, free: 9.418 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001875/0.4061, allocations: 184.7 kB / 1.33 GB, free: 9.234 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.068e-05/0.4062, allocations: 59.58 kB / 1.33 GB, free: 9.176 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000269/0.4064, allocations: 146 kB / 1.331 GB, free: 9.023 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001742/0.4066, allocations: 346.8 kB / 1.331 GB, free: 8.676 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004141/0.407, allocations: 204.7 kB / 1.331 GB, free: 8.477 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005035/0.4075, allocations: 324.9 kB / 1.331 GB, free: 8.109 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007391/0.4083, allocations: 0.5311 MB / 1.332 GB, free: 7.508 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.4083, allocations: 0 / 1.332 GB, free: 7.508 MB / 1.029 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001307/0.4096, allocations: 0.7523 MB / 1.333 GB, free: 6.727 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001144/0.4097, allocations: 122.8 kB / 1.333 GB, free: 6.582 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/0.4097, allocations: 4 kB / 1.333 GB, free: 6.578 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/0.4097, allocations: 4 kB / 1.333 GB, free: 6.574 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002295/0.41, allocations: 59.84 kB / 1.333 GB, free: 6.516 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.335e-05/0.41, allocations: 4 kB / 1.333 GB, free: 6.512 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007373/0.4107, allocations: 135.8 kB / 1.333 GB, free: 6.379 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001288/0.4108, allocations: 71.86 kB / 1.333 GB, free: 6.309 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.0002707/0.4111, allocations: 193.7 kB / 1.333 GB, free: 6.113 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.127e-05/0.4112, allocations: 31.77 kB / 1.333 GB, free: 6.082 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000638/0.4118, allocations: 365.2 kB / 1.334 GB, free: 5.719 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.749e-06/0.4118, allocations: 11.92 kB / 1.334 GB, free: 5.707 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.4118, allocations: 0 / 1.334 GB, free: 5.707 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.4118, allocations: 4 kB / 1.334 GB, free: 5.703 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001054/0.4129, allocations: 0.7496 MB / 1.334 GB, free: 4.898 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.4129, allocations: 3.938 kB / 1.334 GB, free: 4.895 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001405/0.413, allocations: 35.92 kB / 1.334 GB, free: 4.859 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.413, allocations: 0 / 1.334 GB, free: 4.859 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.154e-05/0.4131, allocations: 11.98 kB / 1.334 GB, free: 4.848 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.4131, allocations: 0 / 1.334 GB, free: 4.848 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4131, allocations: 0 / 1.334 GB, free: 4.848 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005793/0.4137, allocations: 432.3 kB / 1.335 GB, free: 4.41 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.143e-05/0.4137, allocations: 112.8 kB / 1.335 GB, free: 4.281 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.217e-05/0.4138, allocations: 15.88 kB / 1.335 GB, free: 4.266 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001383/0.4139, allocations: 19.92 kB / 1.335 GB, free: 4.246 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.014e-05/0.414, allocations: 19.97 kB / 1.335 GB, free: 4.227 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.832e-05/0.414, allocations: 8 kB / 1.335 GB, free: 4.219 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002476/0.4143, allocations: 219.1 kB / 1.335 GB, free: 4.004 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4143, allocations: 0 / 1.335 GB, free: 4.004 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004413/0.4147, allocations: 91.98 kB / 1.335 GB, free: 3.914 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.0009545/0.4156, allocations: 0.992 MB / 1.336 GB, free: 2.895 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0009387/0.4166, allocations: 0.6184 MB / 1.337 GB, free: 2.227 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4166, allocations: 0 / 1.337 GB, free: 2.227 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001963/0.4168, allocations: 131.8 kB / 1.337 GB, free: 2.098 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005624/0.4173, allocations: 80.08 kB / 1.337 GB, free: 2.023 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005593/0.4229, allocations: 3.839 MB / 1.341 GB, free: 14 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004829/0.4234, allocations: 0.7798 MB / 1.342 GB, free: 13.2 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001934/0.4236, allocations: 79.2 kB / 1.342 GB, free: 13.12 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001643/0.4238, allocations: 111.4 kB / 1.342 GB, free: 13.01 MB / 1.045 GB Notification: Performance of SimCode: time 6.92e-07/0.4238, allocations: 0 / 1.342 GB, free: 13.01 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03761/0.4614, allocations: 8.457 MB / 1.35 GB, free: 4.738 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.512/8.973, allocations: 10.16 kB / 1.35 GB, free: 4.73 MB / 1.045 GB " [Timeout remaining time 291] (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: 15.75871862610802]