Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.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.001882/0.001882, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.002657/0.002657, allocations: 213.9 kB / 23.03 MB, free: 4.922 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.468/1.468, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.261/3.261, allocations: 0.5003 GB / 0.8062 GB, free: 28.25 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.BooleanExtractSignal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal",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.002066/0.002066, allocations: 62.38 kB / 1.17 GB, free: 19.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3581/0.3602, allocations: 179 MB / 1.345 GB, free: 15.93 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.002185/0.3624, allocations: 0.6963 MB / 1.346 GB, free: 15.23 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001941/0.3643, allocations: 1.268 MB / 1.347 GB, free: 13.95 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.742e-05/0.3644, allocations: 0 / 1.347 GB, free: 13.95 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001098/0.3645, allocations: 15.86 kB / 1.347 GB, free: 13.93 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.084e-05/0.3645, allocations: 11.88 kB / 1.347 GB, free: 13.92 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000808/0.3654, allocations: 241.2 kB / 1.347 GB, free: 13.69 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003741/0.3657, allocations: 255.6 kB / 1.348 GB, free: 13.44 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001334/0.3659, allocations: 27.97 kB / 1.348 GB, free: 13.41 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001936/0.3661, allocations: 107.7 kB / 1.348 GB, free: 13.31 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001688/0.3662, allocations: 83.77 kB / 1.348 GB, free: 13.23 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.272e-05/0.3663, allocations: 20 kB / 1.348 GB, free: 13.21 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001129/0.3664, allocations: 35.98 kB / 1.348 GB, free: 13.17 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.151e-05/0.3665, allocations: 31.92 kB / 1.348 GB, free: 13.14 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001258/0.3666, allocations: 83.69 kB / 1.348 GB, free: 13.06 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003281/0.3669, allocations: 231.1 kB / 1.348 GB, free: 12.83 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.3669, allocations: 0 / 1.348 GB, free: 12.83 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3669, allocations: 4 kB / 1.348 GB, free: 12.83 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.3669, allocations: 0 / 1.348 GB, free: 12.83 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0006723/0.3676, allocations: 437.1 kB / 1.349 GB, free: 12.36 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.3676, allocations: 12.03 kB / 1.349 GB, free: 12.34 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.481e-05/0.3677, allocations: 192 / 1.349 GB, free: 12.34 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.02e-05/0.3677, allocations: 46.73 kB / 1.349 GB, free: 12.29 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003784/0.3681, allocations: 52.81 kB / 1.349 GB, free: 12.24 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005688/0.3686, allocations: 195.8 kB / 1.349 GB, free: 12.02 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/0.3687, allocations: 20.36 kB / 1.349 GB, free: 12 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.729e-05/0.3687, allocations: 16.38 kB / 1.349 GB, free: 11.99 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000234/0.369, allocations: 130.2 kB / 1.349 GB, free: 11.84 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.369, allocations: 3.938 kB / 1.349 GB, free: 11.84 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.369, allocations: 0 / 1.349 GB, free: 11.84 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.369, allocations: 4 kB / 1.349 GB, free: 11.84 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.162e-05/0.3691, allocations: 47.91 kB / 1.349 GB, free: 11.79 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000734/0.3698, allocations: 0.6057 MB / 1.35 GB, free: 11.13 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 8.478e-05/0.3699, allocations: 45.14 kB / 1.35 GB, free: 11.07 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.107e-05/0.3699, allocations: 17.72 kB / 1.35 GB, free: 11.04 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 7.114e-06/0.3699, allocations: 11.94 kB / 1.35 GB, free: 11.03 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002631/0.3702, allocations: 89.05 kB / 1.35 GB, free: 10.93 MB / 1.045 GB Notification: Performance of pre-optimization done (n=6): time 1.643e-06/0.3702, allocations: 3.938 kB / 1.35 GB, free: 10.92 MB / 1.045 GB Notification: Performance of matching and sorting (n=6): time 0.0002865/0.3705, allocations: 105.5 kB / 1.35 GB, free: 10.81 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.807e-05/0.3706, allocations: 81.11 kB / 1.35 GB, free: 10.71 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001981/0.3708, allocations: 170.1 kB / 1.35 GB, free: 10.54 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.87e-05/0.3708, allocations: 37.64 kB / 1.35 GB, free: 10.49 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/0.3709, allocations: 123.7 kB / 1.35 GB, free: 10.37 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.918e-05/0.3709, allocations: 19.88 kB / 1.35 GB, free: 10.35 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001235/0.3711, allocations: 61.62 kB / 1.351 GB, free: 10.28 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001691/0.3712, allocations: 326.8 kB / 1.351 GB, free: 9.953 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001797/0.3714, allocations: 111.4 kB / 1.351 GB, free: 9.832 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000254/0.3717, allocations: 231.3 kB / 1.351 GB, free: 9.551 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002571/0.3719, allocations: 170.1 kB / 1.351 GB, free: 9.348 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.3719, allocations: 4.031 kB / 1.351 GB, free: 9.344 MB / 1.045 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005401/0.3725, allocations: 336.1 kB / 1.352 GB, free: 8.984 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 7.822e-05/0.3725, allocations: 63.41 kB / 1.352 GB, free: 8.91 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.3726, allocations: 4 kB / 1.352 GB, free: 8.906 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.162e-05/0.3726, allocations: 4 kB / 1.352 GB, free: 8.902 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.477e-05/0.3726, allocations: 3.984 kB / 1.352 GB, free: 8.898 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.3726, allocations: 4 kB / 1.352 GB, free: 8.895 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003435/0.3729, allocations: 60.14 kB / 1.352 GB, free: 8.836 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.586e-05/0.373, allocations: 12 kB / 1.352 GB, free: 8.824 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: 10 (booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition4,booPul1.y,$PRE.booPul1.y,$whenCondition1,$whenCondition2,con.y,con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * 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.0001668/0.3732, allocations: 145.7 kB / 1.352 GB, free: 8.672 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.911e-05/0.3732, allocations: 7.953 kB / 1.352 GB, free: 8.664 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.602e-05/0.3732, allocations: 12.34 kB / 1.352 GB, free: 8.645 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.3732, allocations: 4 kB / 1.352 GB, free: 8.641 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.3732, allocations: 4 kB / 1.352 GB, free: 8.637 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.3732, allocations: 0 / 1.352 GB, free: 8.637 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002044/0.3734, allocations: 176.6 kB / 1.352 GB, free: 8.422 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.3734, allocations: 4 kB / 1.352 GB, free: 8.418 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.765e-06/0.3734, allocations: 0 / 1.352 GB, free: 8.418 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.3734, allocations: 0 / 1.352 GB, free: 8.418 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.3735, allocations: 4 kB / 1.352 GB, free: 8.414 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3735, allocations: 0 / 1.352 GB, free: 8.414 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.3735, allocations: 0 / 1.352 GB, free: 8.414 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001758/0.3736, allocations: 129.7 kB / 1.352 GB, free: 8.266 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.736e-05/0.3737, allocations: 7.953 kB / 1.352 GB, free: 8.258 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.822e-05/0.3737, allocations: 4 kB / 1.352 GB, free: 8.254 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.739e-05/0.3737, allocations: 8.375 kB / 1.352 GB, free: 8.246 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.362e-05/0.3737, allocations: 3.984 kB / 1.352 GB, free: 8.242 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.106e-06/0.3737, allocations: 4.094 kB / 1.352 GB, free: 8.238 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001111/0.3739, allocations: 124.1 kB / 1.352 GB, free: 8.117 MB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/0.3739, allocations: 0 / 1.352 GB, free: 8.117 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000302/0.3742, allocations: 35.94 kB / 1.352 GB, free: 8.082 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: 6 ($whenCondition3,$whenCondition4,booPul.y,$whenCondition1,$whenCondition2,booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.0005961/0.3747, allocations: 0.6678 MB / 1.353 GB, free: 7.383 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004066/0.3752, allocations: 274.5 kB / 1.353 GB, free: 7.078 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.3752, allocations: 0 / 1.353 GB, free: 7.078 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 4.213e-05/0.3752, allocations: 15.94 kB / 1.353 GB, free: 7.062 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002531/0.3755, allocations: 27.67 kB / 1.353 GB, free: 7.039 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00272/0.3782, allocations: 2.173 MB / 1.356 GB, free: 4.668 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001149/0.3783, allocations: 106.7 kB / 1.356 GB, free: 4.543 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 4.512e-05/0.3783, allocations: 16.91 kB / 1.356 GB, free: 4.527 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.734e-05/0.3784, allocations: 35.42 kB / 1.356 GB, free: 4.492 MB / 1.045 GB Notification: Performance of SimCode: time 2.91e-07/0.3784, allocations: 0 / 1.356 GB, free: 4.492 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02804/0.4064, allocations: 3.86 MB / 1.359 GB, free: 0.8438 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/12.22, allocations: 10.95 kB / 1.359 GB, free: 0.8359 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 19.001730333897285] Failed to read output from testmodel.py, exit status != 0: 12.396607475937344 12.418262425 12.047587665 Calling exit ...