Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.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.001363/0.001363, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.001559/0.001559, allocations: 209.5 kB / 20.13 MB, free: 3.035 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.522/1.522, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.098/3.098, allocations: 0.5003 GB / 0.8026 GB, free: 6.688 MB / 0.6387 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.BooleanScalarReplicator,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator",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.002209/0.002209, allocations: 63.89 kB / 1.165 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.11/1.112, allocations: 178.9 MB / 1.34 GB, free: 13.77 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.003215/1.115, allocations: 0.6284 MB / 1.341 GB, free: 13.29 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002593/1.118, allocations: 1.147 MB / 1.342 GB, free: 12.37 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.2e-05/1.118, allocations: 1.656 kB / 1.342 GB, free: 12.37 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001281/1.118, allocations: 3.938 kB / 1.342 GB, free: 12.37 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.389e-05/1.118, allocations: 9.5 kB / 1.342 GB, free: 12.36 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007453/1.119, allocations: 128.4 kB / 1.342 GB, free: 12.27 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002621/1.119, allocations: 82.11 kB / 1.342 GB, free: 12.23 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/1.119, allocations: 10.41 kB / 1.342 GB, free: 12.22 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000104/1.119, allocations: 33.52 kB / 1.342 GB, free: 12.2 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001589/1.119, allocations: 32.36 kB / 1.342 GB, free: 12.18 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.046e-05/1.119, allocations: 8.219 kB / 1.342 GB, free: 12.18 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001101/1.119, allocations: 29.69 kB / 1.342 GB, free: 12.16 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.376e-05/1.12, allocations: 8.375 kB / 1.342 GB, free: 12.16 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.617e-05/1.12, allocations: 33.72 kB / 1.342 GB, free: 12.14 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002461/1.12, allocations: 89.53 kB / 1.342 GB, free: 12.07 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/1.12, allocations: 0 / 1.342 GB, free: 12.07 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.374e-06/1.12, allocations: 1.5 kB / 1.342 GB, free: 12.07 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.552e-06/1.12, allocations: 0 / 1.342 GB, free: 12.07 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007137/1.121, allocations: 378.8 kB / 1.343 GB, free: 11.66 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.198e-05/1.121, allocations: 10.09 kB / 1.343 GB, free: 11.66 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.552e-05/1.121, allocations: 1.438 kB / 1.343 GB, free: 11.66 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.504e-05/1.121, allocations: 35.98 kB / 1.343 GB, free: 11.62 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.223e-05/1.121, allocations: 9.016 kB / 1.343 GB, free: 11.62 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003195/1.121, allocations: 182.1 kB / 1.343 GB, free: 11.41 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/1.121, allocations: 7.312 kB / 1.343 GB, free: 11.4 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.941e-05/1.121, allocations: 9.766 kB / 1.343 GB, free: 11.4 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001442/1.121, allocations: 50.16 kB / 1.343 GB, free: 11.35 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/1.121, allocations: 5.047 kB / 1.343 GB, free: 11.35 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/1.121, allocations: 0 / 1.343 GB, free: 11.35 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/1.121, allocations: 1.125 kB / 1.343 GB, free: 11.35 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.393e-05/1.121, allocations: 15.06 kB / 1.343 GB, free: 11.34 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005894/1.122, allocations: 306.5 kB / 1.343 GB, free: 11.01 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 7.847e-05/1.122, allocations: 26.03 kB / 1.343 GB, free: 10.98 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.228e-05/1.122, allocations: 6.484 kB / 1.343 GB, free: 10.97 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.235e-05/1.122, allocations: 0 / 1.343 GB, free: 10.97 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002057/1.122, allocations: 57.67 kB / 1.343 GB, free: 10.91 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.322e-06/1.122, allocations: 0 / 1.343 GB, free: 10.91 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0002098/1.122, allocations: 63.56 kB / 1.343 GB, free: 10.87 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.269e-05/1.123, allocations: 56.62 kB / 1.343 GB, free: 10.8 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/1.123, allocations: 122.1 kB / 1.344 GB, free: 10.68 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.644e-05/1.123, allocations: 27.14 kB / 1.344 GB, free: 10.65 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.426e-05/1.123, allocations: 88.36 kB / 1.344 GB, free: 10.56 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.756e-05/1.123, allocations: 9.047 kB / 1.344 GB, free: 10.55 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000116/1.123, allocations: 34.19 kB / 1.344 GB, free: 10.53 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001891/1.123, allocations: 316 kB / 1.344 GB, free: 10.21 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001131/1.123, allocations: 30.17 kB / 1.344 GB, free: 10.2 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001304/1.123, allocations: 47.62 kB / 1.344 GB, free: 10.16 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000212/1.124, allocations: 84.23 kB / 1.344 GB, free: 10.08 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/1.124, allocations: 0 / 1.344 GB, free: 10.08 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004318/1.124, allocations: 143.8 kB / 1.344 GB, free: 9.977 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.114e-05/1.124, allocations: 41.22 kB / 1.344 GB, free: 9.938 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/1.124, allocations: 5.062 kB / 1.344 GB, free: 9.934 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/1.124, allocations: 1.281 kB / 1.344 GB, free: 9.934 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.032e-05/1.124, allocations: 0.9688 kB / 1.344 GB, free: 9.934 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/1.124, allocations: 1.5 kB / 1.344 GB, free: 9.934 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002899/1.124, allocations: 23.5 kB / 1.344 GB, free: 9.926 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.062e-05/1.124, allocations: 8.484 kB / 1.344 GB, free: 9.922 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.0001424/1.125, allocations: 120.1 kB / 1.345 GB, free: 9.801 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.509e-05/1.125, allocations: 9.531 kB / 1.345 GB, free: 9.793 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.347e-05/1.125, allocations: 5.312 kB / 1.345 GB, free: 9.781 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/1.125, allocations: 0 / 1.345 GB, free: 9.781 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/1.125, allocations: 0 / 1.345 GB, free: 9.781 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/1.125, allocations: 1.281 kB / 1.345 GB, free: 9.781 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001983/1.125, allocations: 169.2 kB / 1.345 GB, free: 9.574 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/1.125, allocations: 0 / 1.345 GB, free: 9.574 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.394e-06/1.125, allocations: 1.406 kB / 1.345 GB, free: 9.574 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/1.125, allocations: 3.938 kB / 1.345 GB, free: 9.57 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/1.125, allocations: 1.406 kB / 1.345 GB, free: 9.57 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/1.125, allocations: 4 kB / 1.345 GB, free: 9.566 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/1.125, allocations: 240 / 1.345 GB, free: 9.566 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000158/1.125, allocations: 90.8 kB / 1.345 GB, free: 9.477 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.08e-05/1.125, allocations: 78.2 kB / 1.345 GB, free: 9.383 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.723e-05/1.125, allocations: 1.062 kB / 1.345 GB, free: 9.383 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.254e-05/1.125, allocations: 0 / 1.345 GB, free: 9.383 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.816e-05/1.125, allocations: 5.328 kB / 1.345 GB, free: 9.379 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/1.125, allocations: 1.875 kB / 1.345 GB, free: 9.379 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.614e-05/1.125, allocations: 97.31 kB / 1.345 GB, free: 9.289 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.81e-07/1.125, allocations: 0 / 1.345 GB, free: 9.289 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003347/1.126, allocations: 21.69 kB / 1.345 GB, free: 9.281 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0005915/1.126, allocations: 0.6183 MB / 1.346 GB, free: 8.672 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000353/1.127, allocations: 112.5 kB / 1.346 GB, free: 8.578 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/1.127, allocations: 3.938 kB / 1.346 GB, free: 8.574 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.238e-05/1.127, allocations: 10.27 kB / 1.346 GB, free: 8.57 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003046/1.127, allocations: 6.719 kB / 1.346 GB, free: 8.57 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002376/1.129, allocations: 1.382 MB / 1.347 GB, free: 7.262 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003678/1.13, allocations: 0.684 MB / 1.348 GB, free: 6.559 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.388e-05/1.13, allocations: 2.562 kB / 1.348 GB, free: 6.559 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.86e-05/1.13, allocations: 20.45 kB / 1.348 GB, free: 6.547 MB / 1.029 GB Notification: Performance of SimCode: time 3.5e-07/1.13, allocations: 0 / 1.348 GB, free: 6.547 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02565/1.155, allocations: 2.042 MB / 1.35 GB, free: 5.484 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.57/9.726, allocations: 9.781 kB / 1.35 GB, free: 5.48 MB / 1.029 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 16.209881269023754] Failed to read output from testmodel.py, exit status != 0: 9.875543295987882 9.8979367 8.77359124 Calling exit ...