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.0017/0.0017, 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.001465/0.001465, allocations: 216 kB / 23.03 MB, free: 4.949 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.479/1.479, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.246/3.246, allocations: 0.5003 GB / 0.8062 GB, free: 28.49 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.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.002069/0.002069, allocations: 66.19 kB / 1.17 GB, free: 19.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3886/0.3907, allocations: 179 MB / 1.345 GB, free: 0 / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.002366/0.3931, allocations: 0.6181 MB / 1.346 GB, free: 15.38 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001722/0.3948, allocations: 1.128 MB / 1.347 GB, free: 14.24 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.255e-05/0.3948, allocations: 0 / 1.347 GB, free: 14.24 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001058/0.3949, allocations: 7.938 kB / 1.347 GB, free: 14.23 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 3.612e-05/0.395, allocations: 11.86 kB / 1.347 GB, free: 14.22 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000612/0.3956, allocations: 122.2 kB / 1.347 GB, free: 14.1 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002149/0.3958, allocations: 91.86 kB / 1.347 GB, free: 14.01 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.442e-05/0.3959, allocations: 4 kB / 1.347 GB, free: 14.01 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 8.465e-05/0.396, allocations: 31.98 kB / 1.347 GB, free: 13.98 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001376/0.3961, allocations: 35.88 kB / 1.347 GB, free: 13.94 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.834e-05/0.3962, allocations: 8 kB / 1.347 GB, free: 13.93 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 8.933e-05/0.3962, allocations: 23.98 kB / 1.347 GB, free: 13.91 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 6.373e-05/0.3963, allocations: 11.94 kB / 1.347 GB, free: 13.9 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 7.239e-05/0.3964, allocations: 27.92 kB / 1.347 GB, free: 13.87 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002193/0.3966, allocations: 91.72 kB / 1.347 GB, free: 13.78 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3966, allocations: 0 / 1.347 GB, free: 13.78 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.754e-06/0.3966, allocations: 0 / 1.347 GB, free: 13.78 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.3966, allocations: 0 / 1.347 GB, free: 13.78 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005447/0.3972, allocations: 307.9 kB / 1.348 GB, free: 13.44 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/0.3972, allocations: 12.03 kB / 1.348 GB, free: 13.43 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.502e-05/0.3972, allocations: 192 / 1.348 GB, free: 13.43 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.089e-05/0.3973, allocations: 34.73 kB / 1.348 GB, free: 13.39 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.074e-05/0.3973, allocations: 8.891 kB / 1.348 GB, free: 13.38 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001984/0.3975, allocations: 130.5 kB / 1.348 GB, free: 13.23 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.028e-05/0.3975, allocations: 8.375 kB / 1.348 GB, free: 13.22 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.285e-05/0.3976, allocations: 4.375 kB / 1.348 GB, free: 13.21 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001208/0.3977, allocations: 46 kB / 1.348 GB, free: 13.16 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.3977, allocations: 0 / 1.348 GB, free: 13.16 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.377e-06/0.3977, allocations: 3.938 kB / 1.348 GB, free: 13.16 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.3977, allocations: 7.938 kB / 1.348 GB, free: 13.15 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.053e-05/0.3977, allocations: 11.98 kB / 1.348 GB, free: 13.14 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004119/0.3981, allocations: 259.9 kB / 1.348 GB, free: 12.84 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 6.504e-05/0.3982, allocations: 26.5 kB / 1.348 GB, free: 12.81 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.976e-05/0.3982, allocations: 12.86 kB / 1.348 GB, free: 12.79 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 9.548e-06/0.3982, allocations: 0 / 1.348 GB, free: 12.79 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00018/0.3984, allocations: 59.45 kB / 1.348 GB, free: 12.72 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.3984, allocations: 0 / 1.348 GB, free: 12.72 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0001983/0.3986, allocations: 57.69 kB / 1.348 GB, free: 12.66 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.134e-05/0.3987, allocations: 59.34 kB / 1.348 GB, free: 12.59 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.3988, allocations: 109.8 kB / 1.349 GB, free: 12.47 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.614e-05/0.3988, allocations: 33.64 kB / 1.349 GB, free: 12.43 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.957e-05/0.3989, allocations: 84.14 kB / 1.349 GB, free: 12.35 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.352e-05/0.3989, allocations: 7.953 kB / 1.349 GB, free: 12.34 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.554e-05/0.399, allocations: 37.69 kB / 1.349 GB, free: 12.3 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.3991, allocations: 314.8 kB / 1.349 GB, free: 11.98 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.74e-05/0.3992, allocations: 57.69 kB / 1.349 GB, free: 11.92 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001107/0.3993, allocations: 80.25 kB / 1.349 GB, free: 11.82 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001143/0.3994, allocations: 84.2 kB / 1.349 GB, free: 11.73 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3994, allocations: 0 / 1.349 GB, free: 11.73 MB / 1.045 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002897/0.3997, allocations: 181 kB / 1.349 GB, free: 11.53 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.223e-05/0.3998, allocations: 37.69 kB / 1.349 GB, free: 11.49 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.3998, allocations: 4.094 kB / 1.349 GB, free: 11.48 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.3998, allocations: 0 / 1.349 GB, free: 11.48 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.485e-05/0.3998, allocations: 0 / 1.349 GB, free: 11.48 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.3998, allocations: 4 kB / 1.349 GB, free: 11.48 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00021/0.4, allocations: 27.91 kB / 1.349 GB, free: 11.45 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.676e-05/0.4, allocations: 11.97 kB / 1.349 GB, free: 11.44 MB / 1.045 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.0001137/0.4002, allocations: 117.8 kB / 1.35 GB, free: 11.32 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.262e-05/0.4002, allocations: 4 kB / 1.35 GB, free: 11.31 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.909e-05/0.4002, allocations: 8 kB / 1.35 GB, free: 11.3 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.4002, allocations: 240 / 1.35 GB, free: 11.3 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.4002, allocations: 0 / 1.35 GB, free: 11.3 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.4002, allocations: 3.984 kB / 1.35 GB, free: 11.29 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001401/0.4003, allocations: 144.7 kB / 1.35 GB, free: 11.11 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.4004, allocations: 4 kB / 1.35 GB, free: 11.11 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.927e-06/0.4004, allocations: 3.938 kB / 1.35 GB, free: 11.1 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.4004, allocations: 0 / 1.35 GB, free: 11.1 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.4004, allocations: 0 / 1.35 GB, free: 11.1 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.4004, allocations: 320 / 1.35 GB, free: 11.1 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.4004, allocations: 0 / 1.35 GB, free: 11.1 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001181/0.4005, allocations: 96.95 kB / 1.35 GB, free: 10.99 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.721e-06/0.4005, allocations: 0 / 1.35 GB, free: 10.99 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/0.4005, allocations: 7.984 kB / 1.35 GB, free: 10.98 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.416e-05/0.4005, allocations: 0 / 1.35 GB, free: 10.98 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.213e-05/0.4005, allocations: 0 / 1.35 GB, free: 10.98 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.4006, allocations: 4 kB / 1.35 GB, free: 10.98 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.554e-05/0.4006, allocations: 91.2 kB / 1.35 GB, free: 10.89 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4006, allocations: 0 / 1.35 GB, free: 10.89 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002201/0.4008, allocations: 19.94 kB / 1.35 GB, free: 10.87 MB / 1.045 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.0004891/0.4013, allocations: 0.6202 MB / 1.351 GB, free: 10.22 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002481/0.4016, allocations: 137 kB / 1.351 GB, free: 10.07 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4016, allocations: 4 kB / 1.351 GB, free: 10.06 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 3.011e-05/0.4016, allocations: 8 kB / 1.351 GB, free: 10.05 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002305/0.4018, allocations: 7.984 kB / 1.351 GB, free: 10.05 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001708/0.4035, allocations: 1.501 MB / 1.352 GB, free: 8.418 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.396e-05/0.4036, allocations: 63.34 kB / 1.352 GB, free: 8.336 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.455e-05/0.4036, allocations: 8.188 kB / 1.352 GB, free: 8.328 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.494e-05/0.4037, allocations: 15.42 kB / 1.352 GB, free: 8.312 MB / 1.045 GB Notification: Performance of SimCode: time 3.61e-07/0.4037, allocations: 0 / 1.352 GB, free: 8.312 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0231/0.4268, allocations: 2.247 MB / 1.354 GB, free: 6.234 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/12, allocations: 9.766 kB / 1.354 GB, free: 6.23 MB / 1.045 GB " [Timeout remaining time 288] (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: 18.92736099404283] Failed to read output from testmodel.py, exit status != 0: 12.167156644980423 12.183868397 11.784062776 Calling exit ...