Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.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.001692/0.001692, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001469/0.001469, allocations: 221.8 kB / 23.03 MB, free: 4.945 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.51/1.51, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.342/3.342, allocations: 0.5003 GB / 0.8062 GB, free: 28.28 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.RealExtractor,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor",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.001984/0.001984, allocations: 67.31 kB / 1.17 GB, free: 19.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3403/0.3423, allocations: 179 MB / 1.345 GB, free: 15.95 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.003005/0.3453, allocations: 1.25 MB / 1.347 GB, free: 14.69 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00252/0.3478, allocations: 1.568 MB / 1.348 GB, free: 13.11 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002532/0.3481, allocations: 7.938 kB / 1.348 GB, free: 13.1 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001913/0.3483, allocations: 27.61 kB / 1.348 GB, free: 13.07 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.000267/0.3485, allocations: 75.36 kB / 1.348 GB, free: 13 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001438/0.35, allocations: 0.5029 MB / 1.349 GB, free: 12.51 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000913/0.3509, allocations: 0.6482 MB / 1.349 GB, free: 11.86 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003695/0.3512, allocations: 117.3 kB / 1.349 GB, free: 11.74 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004329/0.3517, allocations: 255.4 kB / 1.35 GB, free: 11.49 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004583/0.3521, allocations: 243.2 kB / 1.35 GB, free: 11.25 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001665/0.3523, allocations: 64 kB / 1.35 GB, free: 11.19 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001883/0.3525, allocations: 79.98 kB / 1.35 GB, free: 11.11 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001143/0.3526, allocations: 87.62 kB / 1.35 GB, free: 11.02 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.000307/0.3529, allocations: 211.2 kB / 1.35 GB, free: 10.82 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0008191/0.3537, allocations: 0.6928 MB / 1.351 GB, free: 10.12 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.3537, allocations: 0 / 1.351 GB, free: 10.12 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3537, allocations: 4 kB / 1.351 GB, free: 10.12 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.85e-05/0.3538, allocations: 0 / 1.351 GB, free: 10.12 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001581/0.3553, allocations: 0.875 MB / 1.352 GB, free: 9.152 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.797e-05/0.3554, allocations: 8.031 kB / 1.352 GB, free: 9.145 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.508e-05/0.3554, allocations: 8.688 kB / 1.352 GB, free: 9.137 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.796e-05/0.3555, allocations: 58.72 kB / 1.352 GB, free: 9.07 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001458/0.3556, allocations: 56.66 kB / 1.352 GB, free: 9.016 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001328/0.357, allocations: 409.4 kB / 1.352 GB, free: 8.594 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.095e-05/0.357, allocations: 28.86 kB / 1.352 GB, free: 8.566 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001002/0.3571, allocations: 40.38 kB / 1.352 GB, free: 8.527 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007762/0.3579, allocations: 460.6 kB / 1.353 GB, free: 8.039 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.3579, allocations: 0 / 1.353 GB, free: 8.039 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.913e-05/0.3579, allocations: 12 kB / 1.353 GB, free: 8.027 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.3579, allocations: 4 kB / 1.353 GB, free: 8.023 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008276/0.3588, allocations: 390.3 kB / 1.353 GB, free: 7.613 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001722/0.3605, allocations: 0.786 MB / 1.354 GB, free: 6.781 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007791/0.3613, allocations: 492.7 kB / 1.354 GB, free: 6.262 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006101/0.3619, allocations: 393.1 kB / 1.355 GB, free: 5.844 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.174e-05/0.3619, allocations: 4 kB / 1.355 GB, free: 5.84 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008251/0.3627, allocations: 464.2 kB / 1.355 GB, free: 5.344 MB / 1.045 GB Notification: Performance of pre-optimization done (n=44): time 4.128e-06/0.3627, allocations: 0 / 1.355 GB, free: 5.344 MB / 1.045 GB Notification: Performance of matching and sorting (n=44): time 0.00207/0.3648, allocations: 1.104 MB / 1.356 GB, free: 4.141 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001767/0.365, allocations: 195.9 kB / 1.357 GB, free: 3.906 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004554/0.3654, allocations: 284.5 kB / 1.357 GB, free: 3.617 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001234/0.3656, allocations: 45.7 kB / 1.357 GB, free: 3.566 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002717/0.3658, allocations: 172.8 kB / 1.357 GB, free: 3.395 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.000158/0.366, allocations: 134.9 kB / 1.357 GB, free: 3.262 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003131/0.3663, allocations: 134.1 kB / 1.357 GB, free: 3.125 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001754/0.3665, allocations: 350.7 kB / 1.358 GB, free: 2.773 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007936/0.3673, allocations: 0.5235 MB / 1.358 GB, free: 2.195 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008244/0.3681, allocations: 0.6062 MB / 1.359 GB, free: 1.5 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00139/0.3695, allocations: 0.9207 MB / 1.36 GB, free: 472 kB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/0.3695, allocations: 0 / 1.36 GB, free: 472 kB / 1.045 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.002076/0.3716, allocations: 1.267 MB / 1.361 GB, free: 15.08 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001776/0.3718, allocations: 259.3 kB / 1.361 GB, free: 14.77 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.3718, allocations: 288 / 1.361 GB, free: 14.77 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/0.3718, allocations: 8 kB / 1.361 GB, free: 14.76 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002862/0.3721, allocations: 67.89 kB / 1.361 GB, free: 14.7 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.379e-05/0.3721, allocations: 7.984 kB / 1.361 GB, free: 14.69 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007357/0.3728, allocations: 147.6 kB / 1.361 GB, free: 14.54 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001355/0.373, allocations: 67.86 kB / 1.361 GB, free: 14.48 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul1.y,intPul.booPul.y,$PRE.intPul.booPul.y,intPul.y,pul1.booPul.y,$PRE.pul1.booPul.y,pul.booPul.y,$PRE.pul.booPul.y,conInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 9 * 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.0003629/0.3733, allocations: 318.1 kB / 1.362 GB, free: 14.12 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.119e-05/0.3734, allocations: 39.77 kB / 1.362 GB, free: 14.09 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.973e-05/0.3735, allocations: 43.48 kB / 1.362 GB, free: 14.04 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.233e-06/0.3735, allocations: 4 kB / 1.362 GB, free: 14.04 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.3735, allocations: 0 / 1.362 GB, free: 14.04 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.3735, allocations: 3.984 kB / 1.362 GB, free: 14.04 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002043/0.3756, allocations: 1.262 MB / 1.363 GB, free: 12.66 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.3756, allocations: 4 kB / 1.363 GB, free: 12.66 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002477/0.3758, allocations: 59.95 kB / 1.363 GB, free: 12.6 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.015e-06/0.3758, allocations: 4 kB / 1.363 GB, free: 12.59 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.15e-05/0.3759, allocations: 15.92 kB / 1.363 GB, free: 12.58 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.304e-06/0.3759, allocations: 7.938 kB / 1.363 GB, free: 12.57 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3759, allocations: 0 / 1.363 GB, free: 12.57 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001376/0.3772, allocations: 0.8919 MB / 1.364 GB, free: 11.6 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/0.3773, allocations: 47.64 kB / 1.364 GB, free: 11.55 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.014e-05/0.3774, allocations: 8 kB / 1.364 GB, free: 11.55 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002367/0.3776, allocations: 31.84 kB / 1.364 GB, free: 11.52 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001284/0.3778, allocations: 39.88 kB / 1.364 GB, free: 11.48 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001204/0.3779, allocations: 59.88 kB / 1.364 GB, free: 11.42 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003177/0.3782, allocations: 203.1 kB / 1.364 GB, free: 11.22 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3782, allocations: 0 / 1.364 GB, free: 11.22 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0006006/0.3788, allocations: 104 kB / 1.364 GB, free: 11.12 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pul.booPul.y,pul1.booPul.y,intPul.y,intPul.booPul.y,intPul1.y,intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 5 * 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.001871/0.3807, allocations: 1.461 MB / 1.366 GB, free: 9.574 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002072/0.3828, allocations: 1.433 MB / 1.367 GB, free: 7.945 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3828, allocations: 128 / 1.367 GB, free: 7.945 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0007483/0.3835, allocations: 0.6262 MB / 1.368 GB, free: 7.227 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006284/0.3841, allocations: 89.5 kB / 1.368 GB, free: 7.137 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009084/0.3932, allocations: 5.838 MB / 1.374 GB, free: 0.8594 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002454/0.3935, allocations: 192.8 kB / 1.374 GB, free: 0.6484 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0003235/0.3938, allocations: 95.19 kB / 1.374 GB, free: 0.5586 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002016/0.394, allocations: 115.4 kB / 1.374 GB, free: 456 kB / 1.061 GB Notification: Performance of SimCode: time 1.292e-06/0.394, allocations: 4 kB / 1.374 GB, free: 452 kB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03858/0.4326, allocations: 10.74 MB / 1.385 GB, free: 6.004 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.05/12.49, allocations: 11.97 kB / 1.385 GB, free: 5.996 MB / 1.076 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 19.68631065194495] Failed to read output from testmodel.py, exit status != 0: 12.662134725949727 12.692328478 12.333116021 Calling exit ...