Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001421/0.001421, allocations: 108.3 kB / 17.54 MB, free: 4.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001458/0.001458, allocations: 190.6 kB / 20.71 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.307/1.307, allocations: 225.6 MB / 249.3 MB, free: 3.199 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.487/2.487, allocations: 476.7 MB / 0.7628 GB, free: 15.16 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001849/0.001849, allocations: 67.89 kB / 1.107 GB, free: 5.168 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8044/0.8062, allocations: 168.7 MB / 1.271 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.002093/0.8083, allocations: 1.165 MB / 1.273 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0017/0.81, allocations: 1.511 MB / 1.274 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.015e-05/0.8101, allocations: 7.875 kB / 1.274 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001313/0.8102, allocations: 33.75 kB / 1.274 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001056/0.8103, allocations: 60.89 kB / 1.274 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009648/0.8113, allocations: 489.1 kB / 1.275 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0005509/0.8119, allocations: 0.5876 MB / 1.275 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002261/0.8121, allocations: 116.1 kB / 1.275 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002094/0.8123, allocations: 227.9 kB / 1.275 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002572/0.8126, allocations: 218.2 kB / 1.276 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001062/0.8127, allocations: 60.03 kB / 1.276 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000155/0.8128, allocations: 80.77 kB / 1.276 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.595e-05/0.8129, allocations: 71.23 kB / 1.276 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002014/0.8131, allocations: 232.2 kB / 1.276 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005502/0.8137, allocations: 0.6181 MB / 1.277 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.8137, allocations: 0.9062 kB / 1.277 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.202e-06/0.8137, allocations: 0 / 1.277 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.8137, allocations: 0 / 1.277 GB, free: 4.57 MB / 0.9981 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.0007335/0.8144, allocations: 0.7546 MB / 1.277 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.8144, allocations: 13.66 kB / 1.277 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.983e-05/0.8145, allocations: 64.03 kB / 1.278 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001007/0.8146, allocations: 47.3 kB / 1.278 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008473/0.8154, allocations: 407.4 kB / 1.278 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.751e-05/0.8155, allocations: 24.94 kB / 1.278 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.134e-05/0.8155, allocations: 36.42 kB / 1.278 GB, free: 3.52 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004118/0.816, allocations: 255.5 kB / 1.278 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.816, allocations: 0 / 1.278 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.568e-05/0.816, allocations: 12.39 kB / 1.278 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.816, allocations: 8.781 kB / 1.278 GB, free: 3.406 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002768/0.8163, allocations: 153.8 kB / 1.278 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00126/0.8175, allocations: 0.8452 MB / 1.279 GB, free: 2.867 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003357/0.8179, allocations: 210.9 kB / 1.279 GB, free: 2.789 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003025/0.8182, allocations: 197.6 kB / 1.28 GB, free: 2.734 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.612e-05/0.8182, allocations: 2.312 kB / 1.28 GB, free: 2.734 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003675/0.8186, allocations: 260.4 kB / 1.28 GB, free: 2.598 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=28): time 1.363e-06/0.8186, allocations: 0 / 1.28 GB, free: 2.598 MB / 0.9981 GB Notification: Performance of matching and sorting (n=28): time 0.0007335/0.8193, allocations: 434.7 kB / 1.28 GB, free: 2.453 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.604e-05/0.8193, allocations: 113.4 kB / 1.28 GB, free: 2.324 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002807/0.8196, allocations: 324 kB / 1.281 GB, free: 2.148 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.89e-05/0.8197, allocations: 39.28 kB / 1.281 GB, free: 2.113 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/0.8198, allocations: 174.2 kB / 1.281 GB, free: 1.969 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.862e-05/0.8198, allocations: 71.66 kB / 1.281 GB, free: 1.914 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002131/0.82, allocations: 145.5 kB / 1.281 GB, free: 1.855 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.251e-05/0.8201, allocations: 340.3 kB / 1.281 GB, free: 1.531 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003299/0.8204, allocations: 210.4 kB / 1.282 GB, free: 1.469 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003742/0.8208, allocations: 329 kB / 1.282 GB, free: 1.262 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000504/0.8213, allocations: 0.5263 MB / 1.282 GB, free: 0.8867 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.8213, allocations: 0.9062 kB / 1.282 GB, free: 0.8867 MB / 0.9981 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009523/0.8223, allocations: 0.7433 MB / 1.283 GB, free: 0.5312 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.392e-05/0.8223, allocations: 126.4 kB / 1.283 GB, free: 412 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.8223, allocations: 9.75 kB / 1.283 GB, free: 408 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.8224, allocations: 7.062 kB / 1.283 GB, free: 404 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001925/0.8225, allocations: 64.2 kB / 1.283 GB, free: 392 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/0.8226, allocations: 4.312 kB / 1.283 GB, free: 392 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006677/0.8232, allocations: 127.8 kB / 1.284 GB, free: 364 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001286/0.8234, allocations: 75.66 kB / 1.284 GB, free: 348 kB / 0.9981 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.0002024/0.8236, allocations: 195.4 kB / 1.284 GB, free: 196 kB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.417e-05/0.8236, allocations: 32.27 kB / 1.284 GB, free: 176 kB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005064/0.8241, allocations: 365 kB / 1.284 GB, free: 32 kB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.8241, allocations: 7.609 kB / 1.284 GB, free: 28 kB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.8241, allocations: 6.688 kB / 1.284 GB, free: 24 kB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.8241, allocations: 1.547 kB / 1.284 GB, free: 24 kB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009686/0.8251, allocations: 0.7493 MB / 1.285 GB, free: 15.57 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.8251, allocations: 7.938 kB / 1.285 GB, free: 15.56 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001203/0.8252, allocations: 36.08 kB / 1.285 GB, free: 15.55 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.8252, allocations: 2.969 kB / 1.285 GB, free: 15.55 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.946e-05/0.8252, allocations: 8.188 kB / 1.285 GB, free: 15.55 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.8252, allocations: 4.703 kB / 1.285 GB, free: 15.55 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.8252, allocations: 0 / 1.285 GB, free: 15.55 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004945/0.8257, allocations: 430.3 kB / 1.285 GB, free: 15.32 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 8.164e-05/0.8258, allocations: 116.1 kB / 1.285 GB, free: 15.2 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.96e-05/0.8259, allocations: 10.78 kB / 1.286 GB, free: 15.19 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001231/0.826, allocations: 9.75 kB / 1.286 GB, free: 15.19 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.32e-05/0.826, allocations: 22.2 kB / 1.286 GB, free: 15.18 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.179e-05/0.8261, allocations: 13.97 kB / 1.286 GB, free: 15.18 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002165/0.8263, allocations: 213.8 kB / 1.286 GB, free: 15.06 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.8263, allocations: 3.938 kB / 1.286 GB, free: 15.06 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003835/0.8267, allocations: 101.1 kB / 1.286 GB, free: 15.04 MB / 1.014 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.0008372/0.8275, allocations: 0.9822 MB / 1.287 GB, free: 14.27 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0008279/0.8283, allocations: 0.6107 MB / 1.287 GB, free: 13.9 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.8283, allocations: 1.406 kB / 1.287 GB, free: 13.9 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001923/0.8285, allocations: 138.9 kB / 1.288 GB, free: 13.86 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005036/0.829, allocations: 74.64 kB / 1.288 GB, free: 13.84 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00472/0.8337, allocations: 3.834 MB / 1.291 GB, free: 11.45 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000363/0.8341, allocations: 0.7787 MB / 1.292 GB, free: 10.75 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001608/0.8343, allocations: 77.91 kB / 1.292 GB, free: 10.73 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001501/0.8344, allocations: 113.7 kB / 1.292 GB, free: 10.66 MB / 1.014 GB Notification: Performance of SimCode: time 4.11e-07/0.8344, allocations: 0 / 1.292 GB, free: 10.66 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03246/0.8669, allocations: 8.467 MB / 1.301 GB, free: 9.785 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.284/8.15, allocations: 11.39 kB / 1.301 GB, free: 9.777 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 13.454591534999963]