Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.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.001433/0.001433, allocations: 112.2 kB / 17.54 MB, free: 4.641 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.00141/0.00141, allocations: 190.6 kB / 20.71 MB, free: 1.484 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.32/1.32, allocations: 225.6 MB / 249.3 MB, free: 3.137 MB / 190.1 MB " [Timeout remaining time 178] 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.507/2.507, allocations: 476.7 MB / 0.7628 GB, free: 15.1 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.IntegerExtractSignal,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002191/0.002191, allocations: 71.88 kB / 1.107 GB, free: 5.141 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8123/0.8145, allocations: 168.7 MB / 1.271 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.00173/0.8163, allocations: 0.9045 MB / 1.272 GB, free: 7.125 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001292/0.8176, allocations: 1.296 MB / 1.274 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.365e-05/0.8176, allocations: 5.562 kB / 1.274 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 9.671e-05/0.8177, allocations: 15.7 kB / 1.274 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.759e-05/0.8178, allocations: 38.52 kB / 1.274 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006353/0.8184, allocations: 261.5 kB / 1.274 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003116/0.8187, allocations: 325 kB / 1.274 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.8188, allocations: 45.7 kB / 1.274 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001343/0.819, allocations: 125.2 kB / 1.274 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001545/0.8191, allocations: 113.6 kB / 1.274 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.597e-05/0.8192, allocations: 29.59 kB / 1.274 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001113/0.8193, allocations: 50.66 kB / 1.274 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 6.5e-05/0.8194, allocations: 49.25 kB / 1.275 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001111/0.8195, allocations: 114.9 kB / 1.275 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003388/0.8198, allocations: 354.3 kB / 1.275 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.8198, allocations: 4.516 kB / 1.275 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.764e-06/0.8198, allocations: 1.125 kB / 1.275 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.8198, allocations: 0 / 1.275 GB, free: 5.496 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0005433/0.8204, allocations: 0.5472 MB / 1.276 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.8204, allocations: 13.31 kB / 1.276 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.891e-05/0.8204, allocations: 46.53 kB / 1.276 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.976e-05/0.8205, allocations: 27.27 kB / 1.276 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000538/0.8211, allocations: 303.2 kB / 1.276 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.216e-05/0.8211, allocations: 13.19 kB / 1.276 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.304e-05/0.8211, allocations: 23.2 kB / 1.276 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001987/0.8213, allocations: 149.7 kB / 1.276 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.8213, allocations: 0.7812 kB / 1.276 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.8213, allocations: 6.703 kB / 1.276 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.8213, allocations: 2.844 kB / 1.276 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001096/0.8215, allocations: 73.58 kB / 1.276 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005916/0.8221, allocations: 0.7524 MB / 1.277 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.491e-05/0.8221, allocations: 63.3 kB / 1.277 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.023e-05/0.8222, allocations: 25.53 kB / 1.277 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.622e-06/0.8222, allocations: 0.625 kB / 1.277 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001375/0.8223, allocations: 102.4 kB / 1.277 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 1.222e-06/0.8223, allocations: 3.938 kB / 1.277 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.0002597/0.8226, allocations: 121 kB / 1.277 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.505e-05/0.8226, allocations: 83.02 kB / 1.277 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001713/0.8228, allocations: 215.1 kB / 1.277 GB, free: 3.422 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.078e-05/0.8228, allocations: 33.98 kB / 1.278 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.856e-05/0.8229, allocations: 147.5 kB / 1.278 GB, free: 3.258 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.373e-05/0.8229, allocations: 16.94 kB / 1.278 GB, free: 3.246 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/0.823, allocations: 68.39 kB / 1.278 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.571e-05/0.823, allocations: 332.9 kB / 1.278 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001323/0.8232, allocations: 62.86 kB / 1.278 GB, free: 2.871 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001483/0.8233, allocations: 130.3 kB / 1.278 GB, free: 2.766 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000179/0.8235, allocations: 202.6 kB / 1.278 GB, free: 2.586 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.8235, allocations: 1.438 kB / 1.278 GB, free: 2.586 MB / 0.9981 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004162/0.8239, allocations: 300.7 kB / 1.279 GB, free: 2.414 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.503e-05/0.8239, allocations: 68.59 kB / 1.279 GB, free: 2.348 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.8239, allocations: 1.844 kB / 1.279 GB, free: 2.348 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.824, allocations: 3.156 kB / 1.279 GB, free: 2.348 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.529e-05/0.824, allocations: 9.078 kB / 1.279 GB, free: 2.348 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.824, allocations: 2.25 kB / 1.279 GB, free: 2.348 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003864/0.8244, allocations: 77.72 kB / 1.279 GB, free: 2.332 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.963e-05/0.8244, allocations: 13.53 kB / 1.279 GB, free: 2.332 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition3,$whenCondition4,intPul.booPul.y,$PRE.intPul.booPul.y,extIntSig1.y[4],$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,extIntSig1.y[5],conInt3.y,conInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 2 * 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.0001059/0.8245, allocations: 150 kB / 1.279 GB, free: 2.199 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.158e-05/0.8246, allocations: 15.53 kB / 1.279 GB, free: 2.191 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.344e-05/0.8246, allocations: 20.39 kB / 1.279 GB, free: 2.176 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.8246, allocations: 1.75 kB / 1.279 GB, free: 2.176 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.8246, allocations: 5 kB / 1.279 GB, free: 2.172 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.8246, allocations: 0 / 1.279 GB, free: 2.172 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001348/0.8247, allocations: 228.9 kB / 1.279 GB, free: 1.957 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.8247, allocations: 2.219 kB / 1.279 GB, free: 1.957 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.334e-05/0.8248, allocations: 7.781 kB / 1.279 GB, free: 1.953 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.8248, allocations: 2.359 kB / 1.279 GB, free: 1.953 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.8248, allocations: 5.594 kB / 1.279 GB, free: 1.949 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.135e-06/0.8248, allocations: 6.078 kB / 1.279 GB, free: 1.945 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.8248, allocations: 4.969 kB / 1.279 GB, free: 1.941 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001391/0.8249, allocations: 141.5 kB / 1.279 GB, free: 1.832 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.648e-05/0.825, allocations: 89.83 kB / 1.28 GB, free: 1.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.825, allocations: 8.266 kB / 1.28 GB, free: 1.727 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.96e-05/0.825, allocations: 1 kB / 1.28 GB, free: 1.727 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.331e-05/0.825, allocations: 5.125 kB / 1.28 GB, free: 1.727 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.825, allocations: 2.688 kB / 1.28 GB, free: 1.727 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 9.21e-05/0.8251, allocations: 150.4 kB / 1.28 GB, free: 1.629 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.8251, allocations: 0 / 1.28 GB, free: 1.629 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002573/0.8254, allocations: 54.05 kB / 1.28 GB, free: 1.613 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,extIntSig1.y[4],intPul.booPul.y,$whenCondition1,$whenCondition2,extIntSig1.y[5],intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0003085/0.8257, allocations: 0.6767 MB / 1.28 GB, free: 0.9805 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002953/0.826, allocations: 239.6 kB / 1.281 GB, free: 0.8047 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.826, allocations: 0 / 1.281 GB, free: 0.8047 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 4.699e-05/0.826, allocations: 28.48 kB / 1.281 GB, free: 0.7969 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002639/0.8263, allocations: 27.09 kB / 1.281 GB, free: 0.793 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00237/0.8287, allocations: 2.185 MB / 1.283 GB, free: 15.13 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000343/0.829, allocations: 0.7255 MB / 1.284 GB, free: 14.43 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 6.593e-05/0.8291, allocations: 26.78 kB / 1.284 GB, free: 14.43 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.054e-05/0.8291, allocations: 52.91 kB / 1.284 GB, free: 14.39 MB / 1.014 GB Notification: Performance of SimCode: time 3.8e-07/0.8291, allocations: 0 / 1.284 GB, free: 14.39 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02679/0.8559, allocations: 4.375 MB / 1.288 GB, free: 13.79 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.977/7.833, allocations: 13.11 kB / 1.288 GB, free: 13.78 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.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.128432669000176]