Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.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.001774/0.001774, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.00219/0.00219, allocations: 217 kB / 23.04 MB, free: 5.074 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.527/1.527, allocations: 230.6 MB / 256.8 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] 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 3.336/3.336, allocations: 0.5003 GB / 0.8061 GB, free: 26.79 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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.IntegerExtractSignal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal",fmuType="cs",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.002147/0.002147, allocations: 71.25 kB / 1.171 GB, free: 20.01 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4389/0.4411, allocations: 179 MB / 1.345 GB, free: 0.6406 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.00255/0.4436, allocations: 0.8741 MB / 1.346 GB, free: 15.76 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002041/0.4457, allocations: 1.334 MB / 1.347 GB, free: 14.42 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.464e-05/0.4458, allocations: 4 kB / 1.347 GB, free: 14.41 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001441/0.4459, allocations: 19.8 kB / 1.348 GB, free: 14.39 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 9.408e-05/0.446, allocations: 31.72 kB / 1.348 GB, free: 14.36 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008378/0.4468, allocations: 266.8 kB / 1.348 GB, free: 14.11 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004254/0.4473, allocations: 331.4 kB / 1.348 GB, free: 13.79 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001718/0.4474, allocations: 41.59 kB / 1.348 GB, free: 13.74 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001767/0.4476, allocations: 131.7 kB / 1.348 GB, free: 13.61 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002055/0.4478, allocations: 111.6 kB / 1.348 GB, free: 13.5 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.325e-05/0.4479, allocations: 32 kB / 1.348 GB, free: 13.47 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001281/0.448, allocations: 51.91 kB / 1.348 GB, free: 13.42 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 8.203e-05/0.4481, allocations: 47.84 kB / 1.349 GB, free: 13.38 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001416/0.4482, allocations: 119.5 kB / 1.349 GB, free: 13.26 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004725/0.4487, allocations: 354.7 kB / 1.349 GB, free: 12.91 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.4487, allocations: 0 / 1.349 GB, free: 12.91 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.114e-06/0.4487, allocations: 4 kB / 1.349 GB, free: 12.91 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.586e-06/0.4487, allocations: 4 kB / 1.349 GB, free: 12.9 MB / 1.045 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.0007802/0.4495, allocations: 484.7 kB / 1.349 GB, free: 12.38 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/0.4495, allocations: 12.03 kB / 1.349 GB, free: 12.37 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.901e-05/0.4496, allocations: 192 / 1.349 GB, free: 12.37 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.224e-05/0.4496, allocations: 50.73 kB / 1.349 GB, free: 12.31 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003624/0.45, allocations: 64.75 kB / 1.35 GB, free: 12.25 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006154/0.4506, allocations: 234 kB / 1.35 GB, free: 12 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.082e-05/0.4506, allocations: 20.31 kB / 1.35 GB, free: 11.98 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.883e-05/0.4507, allocations: 16.38 kB / 1.35 GB, free: 11.96 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002546/0.4509, allocations: 161 kB / 1.35 GB, free: 11.79 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.4509, allocations: 0 / 1.35 GB, free: 11.79 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.803e-05/0.4509, allocations: 3.984 kB / 1.35 GB, free: 11.78 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.4509, allocations: 8 kB / 1.35 GB, free: 11.77 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001264/0.4511, allocations: 67.91 kB / 1.35 GB, free: 11.71 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008602/0.4519, allocations: 0.7148 MB / 1.351 GB, free: 10.94 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001069/0.452, allocations: 57.2 kB / 1.351 GB, free: 10.86 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.559e-05/0.4521, allocations: 29.72 kB / 1.351 GB, free: 10.83 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 7.714e-06/0.4521, allocations: 0 / 1.351 GB, free: 10.83 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002972/0.4524, allocations: 113 kB / 1.351 GB, free: 10.7 MB / 1.045 GB Notification: Performance of pre-optimization done (n=8): time 1.042e-06/0.4524, allocations: 0 / 1.351 GB, free: 10.7 MB / 1.045 GB Notification: Performance of matching and sorting (n=8): time 0.0003218/0.4527, allocations: 125.5 kB / 1.351 GB, free: 10.57 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.904e-05/0.4528, allocations: 81.11 kB / 1.351 GB, free: 10.47 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000227/0.453, allocations: 211.7 kB / 1.351 GB, free: 10.25 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.162e-05/0.453, allocations: 33.7 kB / 1.351 GB, free: 10.21 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/0.4532, allocations: 144.2 kB / 1.351 GB, free: 10.07 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.295e-05/0.4532, allocations: 19.89 kB / 1.352 GB, free: 10.05 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001278/0.4533, allocations: 61.69 kB / 1.352 GB, free: 9.984 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.4535, allocations: 338.7 kB / 1.352 GB, free: 9.645 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001558/0.4536, allocations: 63.91 kB / 1.352 GB, free: 9.582 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001964/0.4538, allocations: 128.5 kB / 1.352 GB, free: 9.426 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000261/0.4541, allocations: 198.1 kB / 1.352 GB, free: 9.195 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.4541, allocations: 0 / 1.352 GB, free: 9.195 MB / 1.045 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005289/0.4546, allocations: 300.8 kB / 1.353 GB, free: 8.883 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 5.885e-05/0.4547, allocations: 63.41 kB / 1.353 GB, free: 8.809 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.4547, allocations: 0 / 1.353 GB, free: 8.809 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.4547, allocations: 7.938 kB / 1.353 GB, free: 8.801 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.365e-05/0.4548, allocations: 19.92 kB / 1.353 GB, free: 8.781 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.4548, allocations: 0 / 1.353 GB, free: 8.781 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003466/0.4551, allocations: 60.08 kB / 1.353 GB, free: 8.723 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.459e-05/0.4552, allocations: 15.98 kB / 1.353 GB, free: 8.707 MB / 1.045 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.0001714/0.4553, allocations: 149.6 kB / 1.353 GB, free: 8.551 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.9e-05/0.4554, allocations: 15.91 kB / 1.353 GB, free: 8.535 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.054e-05/0.4554, allocations: 21.02 kB / 1.353 GB, free: 8.512 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.4554, allocations: 4 kB / 1.353 GB, free: 8.508 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.4554, allocations: 4 kB / 1.353 GB, free: 8.504 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.4554, allocations: 0 / 1.353 GB, free: 8.504 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002303/0.4557, allocations: 204.6 kB / 1.353 GB, free: 8.262 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-06/0.4557, allocations: 0 / 1.353 GB, free: 8.262 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.024e-05/0.4557, allocations: 8 kB / 1.353 GB, free: 8.254 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.4557, allocations: 4 kB / 1.353 GB, free: 8.25 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.4557, allocations: 0 / 1.353 GB, free: 8.25 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.4557, allocations: 0 / 1.353 GB, free: 8.25 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.4557, allocations: 0 / 1.353 GB, free: 8.25 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002002/0.4559, allocations: 138.2 kB / 1.353 GB, free: 8.094 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 3.4e-05/0.4559, allocations: 23.89 kB / 1.353 GB, free: 8.07 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.273e-05/0.456, allocations: 4 kB / 1.353 GB, free: 8.066 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.669e-05/0.456, allocations: 0 / 1.353 GB, free: 8.066 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.409e-05/0.4561, allocations: 7.984 kB / 1.353 GB, free: 8.059 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.395e-05/0.4561, allocations: 11.98 kB / 1.353 GB, free: 8.047 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001294/0.4562, allocations: 137.5 kB / 1.353 GB, free: 7.914 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.4562, allocations: 0 / 1.353 GB, free: 7.914 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002915/0.4565, allocations: 51.89 kB / 1.353 GB, free: 7.863 MB / 1.045 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.0005704/0.4571, allocations: 0.6756 MB / 1.354 GB, free: 7.152 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004054/0.4575, allocations: 230.9 kB / 1.354 GB, free: 6.902 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4575, allocations: 0 / 1.354 GB, free: 6.902 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 6.459e-05/0.4575, allocations: 35.86 kB / 1.354 GB, free: 6.867 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003236/0.4579, allocations: 43.69 kB / 1.354 GB, free: 6.824 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002946/0.4608, allocations: 2.176 MB / 1.357 GB, free: 4.5 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000374/0.4612, allocations: 0.7281 MB / 1.357 GB, free: 3.746 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 7.961e-05/0.4613, allocations: 21.48 kB / 1.357 GB, free: 3.727 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.806e-05/0.4613, allocations: 55.42 kB / 1.357 GB, free: 3.672 MB / 1.045 GB Notification: Performance of SimCode: time 6.61e-07/0.4613, allocations: 0 / 1.357 GB, free: 3.672 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02933/0.4907, allocations: 4.449 MB / 1.362 GB, free: 15.41 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.87, allocations: 5.781 kB / 1.362 GB, free: 15.41 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 19.157463810988702] Failed to read output from testmodel.py, exit status != 0: 12.041821631020866 12.06976025 11.616053643 Calling exit ...