Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.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.001826/0.001826, 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.001943/0.001943, allocations: 217.5 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.517/1.517, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.8061 GB, free: 26.71 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.RealExtractSignal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",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.001983/0.001983, allocations: 74.2 kB / 1.171 GB, free: 19.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3542/0.3562, allocations: 179 MB / 1.345 GB, free: 424 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.00246/0.3587, allocations: 1.021 MB / 1.346 GB, free: 15.39 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001909/0.3606, allocations: 1.369 MB / 1.348 GB, free: 14.01 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.235e-05/0.3607, allocations: 7.938 kB / 1.348 GB, free: 14 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001284/0.3608, allocations: 15.81 kB / 1.348 GB, free: 13.98 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001072/0.3609, allocations: 51.58 kB / 1.348 GB, free: 13.93 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007825/0.3617, allocations: 276.8 kB / 1.348 GB, free: 13.67 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004587/0.3622, allocations: 379.3 kB / 1.348 GB, free: 13.3 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001572/0.3623, allocations: 53.55 kB / 1.348 GB, free: 13.24 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002092/0.3625, allocations: 155.6 kB / 1.349 GB, free: 13.09 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002271/0.3627, allocations: 135.5 kB / 1.349 GB, free: 12.96 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.701e-05/0.3628, allocations: 36 kB / 1.349 GB, free: 12.92 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001249/0.3629, allocations: 55.98 kB / 1.349 GB, free: 12.87 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 8.339e-05/0.363, allocations: 59.77 kB / 1.349 GB, free: 12.81 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001653/0.3632, allocations: 139.4 kB / 1.349 GB, free: 12.67 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004878/0.3637, allocations: 402.5 kB / 1.349 GB, free: 12.28 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3637, allocations: 0 / 1.349 GB, free: 12.28 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.283e-06/0.3637, allocations: 0 / 1.349 GB, free: 12.28 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.735e-06/0.3637, allocations: 0 / 1.349 GB, free: 12.28 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001055/0.3647, allocations: 0.555 MB / 1.35 GB, free: 11.68 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.3648, allocations: 12.03 kB / 1.35 GB, free: 11.66 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.045e-05/0.3648, allocations: 192 / 1.35 GB, free: 11.66 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.205e-05/0.3648, allocations: 50.73 kB / 1.35 GB, free: 11.61 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003719/0.3652, allocations: 64.75 kB / 1.35 GB, free: 11.54 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009385/0.3662, allocations: 313 kB / 1.35 GB, free: 11.21 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.723e-05/0.3662, allocations: 16.36 kB / 1.35 GB, free: 11.2 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.602e-05/0.3662, allocations: 20.38 kB / 1.35 GB, free: 11.18 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004946/0.3667, allocations: 213.9 kB / 1.351 GB, free: 10.95 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.3667, allocations: 0 / 1.351 GB, free: 10.95 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.78e-05/0.3668, allocations: 4 kB / 1.351 GB, free: 10.94 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.3668, allocations: 4 kB / 1.351 GB, free: 10.94 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005103/0.3673, allocations: 139.8 kB / 1.351 GB, free: 10.8 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001191/0.3685, allocations: 0.875 MB / 1.352 GB, free: 9.867 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003458/0.3688, allocations: 153 kB / 1.352 GB, free: 9.672 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002474/0.3691, allocations: 76.3 kB / 1.352 GB, free: 9.582 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.3691, allocations: 8 kB / 1.352 GB, free: 9.574 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004865/0.3696, allocations: 167.5 kB / 1.352 GB, free: 9.383 MB / 1.045 GB Notification: Performance of pre-optimization done (n=11): time 1.693e-06/0.3696, allocations: 0 / 1.352 GB, free: 9.383 MB / 1.045 GB Notification: Performance of matching and sorting (n=11): time 0.0009551/0.3705, allocations: 261.5 kB / 1.352 GB, free: 9.121 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/0.3706, allocations: 162.2 kB / 1.352 GB, free: 8.926 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002351/0.3709, allocations: 217 kB / 1.353 GB, free: 8.699 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.743e-05/0.3709, allocations: 37.64 kB / 1.353 GB, free: 8.656 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/0.371, allocations: 156.2 kB / 1.353 GB, free: 8.5 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.207e-05/0.3711, allocations: 23.84 kB / 1.353 GB, free: 8.477 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001244/0.3712, allocations: 61.75 kB / 1.353 GB, free: 8.41 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.3713, allocations: 338.8 kB / 1.353 GB, free: 8.07 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003421/0.3717, allocations: 95.92 kB / 1.353 GB, free: 7.977 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000396/0.3721, allocations: 182.9 kB / 1.353 GB, free: 7.766 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006231/0.3727, allocations: 274.9 kB / 1.354 GB, free: 7.457 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.3727, allocations: 0 / 1.354 GB, free: 7.457 MB / 1.045 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0009329/0.3736, allocations: 376.6 kB / 1.354 GB, free: 7.07 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 5.855e-05/0.3737, allocations: 67.39 kB / 1.354 GB, free: 6.992 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.3737, allocations: 8.219 kB / 1.354 GB, free: 6.984 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.3737, allocations: 4 kB / 1.354 GB, free: 6.98 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001702/0.3739, allocations: 23.97 kB / 1.354 GB, free: 6.957 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.3739, allocations: 4 kB / 1.354 GB, free: 6.953 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004455/0.3744, allocations: 67.81 kB / 1.354 GB, free: 6.887 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.905e-05/0.3744, allocations: 23.98 kB / 1.354 GB, free: 6.863 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,pul.booPul.y,$PRE.pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y,$PRE.pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 11 * 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.0001585/0.3745, allocations: 149.7 kB / 1.354 GB, free: 6.707 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.758e-05/0.3746, allocations: 19.86 kB / 1.354 GB, free: 6.688 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.082e-05/0.3746, allocations: 25.33 kB / 1.354 GB, free: 6.66 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.3746, allocations: 4 kB / 1.354 GB, free: 6.656 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.3746, allocations: 0 / 1.354 GB, free: 6.656 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.3747, allocations: 0 / 1.354 GB, free: 6.656 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002514/0.3749, allocations: 228.6 kB / 1.355 GB, free: 6.391 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.3749, allocations: 8 kB / 1.355 GB, free: 6.383 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001474/0.3751, allocations: 28.38 kB / 1.355 GB, free: 6.355 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.3751, allocations: 4 kB / 1.355 GB, free: 6.352 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.503e-05/0.3751, allocations: 4 kB / 1.355 GB, free: 6.348 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.3751, allocations: 4 kB / 1.355 GB, free: 6.344 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.3751, allocations: 0 / 1.355 GB, free: 6.344 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006162/0.3757, allocations: 244.1 kB / 1.355 GB, free: 6.074 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 3.885e-05/0.3757, allocations: 23.8 kB / 1.355 GB, free: 6.051 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.326e-05/0.3758, allocations: 11.98 kB / 1.355 GB, free: 6.039 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001331/0.3759, allocations: 15.98 kB / 1.355 GB, free: 6.023 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.807e-05/0.376, allocations: 19.91 kB / 1.355 GB, free: 6.004 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.376, allocations: 4 kB / 1.355 GB, free: 6 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001662/0.3761, allocations: 164.5 kB / 1.355 GB, free: 5.844 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3761, allocations: 0 / 1.355 GB, free: 5.844 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003187/0.3765, allocations: 51.89 kB / 1.355 GB, free: 5.793 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * 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.001043/0.3775, allocations: 0.7834 MB / 1.356 GB, free: 4.969 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0008421/0.3783, allocations: 310.6 kB / 1.356 GB, free: 4.641 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.3784, allocations: 0 / 1.356 GB, free: 4.641 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002993/0.3787, allocations: 75.88 kB / 1.356 GB, free: 4.566 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003885/0.379, allocations: 62.5 kB / 1.356 GB, free: 4.508 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00398/0.383, allocations: 2.568 MB / 1.359 GB, free: 1.773 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003587/0.3834, allocations: 0.7437 MB / 1.36 GB, free: 1.004 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001149/0.3835, allocations: 33.62 kB / 1.36 GB, free: 0.9727 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001071/0.3836, allocations: 71.41 kB / 1.36 GB, free: 0.9023 MB / 1.045 GB Notification: Performance of SimCode: time 5.41e-07/0.3836, allocations: 0 / 1.36 GB, free: 0.9023 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02676/0.4104, allocations: 5.413 MB / 1.365 GB, free: 11.68 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.85, allocations: 11.05 kB / 1.365 GB, free: 11.68 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 19.086508959997445] Failed to read output from testmodel.py, exit status != 0: 12.013636473042425 12.040039442 11.671776085 Calling exit ...