Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.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.001335/0.001335, allocations: 117.1 kB / 17.16 MB, free: 5.895 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.001381/0.001381, allocations: 215 kB / 20.13 MB, free: 2.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.63/1.63, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.136/3.136, allocations: 0.5003 GB / 0.8026 GB, free: 6.715 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.BooleanVectorReplicator,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator",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.002093/0.002093, allocations: 65.47 kB / 1.165 GB, free: 500 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.2/1.202, allocations: 178.9 MB / 1.34 GB, free: 16.26 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.001954/1.204, allocations: 0.6371 MB / 1.341 GB, free: 15.86 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00143/1.206, allocations: 1.151 MB / 1.342 GB, free: 15.02 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.018e-05/1.206, allocations: 8.969 kB / 1.342 GB, free: 15.01 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001155/1.206, allocations: 1.594 kB / 1.342 GB, free: 15.01 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.61e-05/1.206, allocations: 11.72 kB / 1.342 GB, free: 15 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004504/1.206, allocations: 125.1 kB / 1.342 GB, free: 14.94 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002878/1.207, allocations: 187 kB / 1.342 GB, free: 14.87 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/1.207, allocations: 15.23 kB / 1.342 GB, free: 14.86 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000113/1.207, allocations: 82.81 kB / 1.342 GB, free: 14.84 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001834/1.207, allocations: 68.3 kB / 1.342 GB, free: 14.81 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.223e-05/1.207, allocations: 14.78 kB / 1.342 GB, free: 14.81 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.754e-05/1.207, allocations: 29.19 kB / 1.342 GB, free: 14.81 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.99e-05/1.207, allocations: 25.53 kB / 1.342 GB, free: 14.8 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001099/1.207, allocations: 73.69 kB / 1.342 GB, free: 14.76 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002932/1.208, allocations: 197.1 kB / 1.343 GB, free: 14.71 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/1.208, allocations: 0 / 1.343 GB, free: 14.71 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.543e-06/1.208, allocations: 0 / 1.343 GB, free: 14.71 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.702e-06/1.208, allocations: 1.312 kB / 1.343 GB, free: 14.71 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005963/1.208, allocations: 465.3 kB / 1.343 GB, free: 14.25 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/1.208, allocations: 8.781 kB / 1.343 GB, free: 14.25 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.573e-05/1.208, allocations: 1.406 kB / 1.343 GB, free: 14.25 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.517e-05/1.208, allocations: 39.12 kB / 1.343 GB, free: 14.21 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.214e-05/1.208, allocations: 10.06 kB / 1.343 GB, free: 14.21 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002459/1.209, allocations: 214.3 kB / 1.343 GB, free: 14 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/1.209, allocations: 6.391 kB / 1.343 GB, free: 14 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.24e-05/1.209, allocations: 14 kB / 1.343 GB, free: 14 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001871/1.209, allocations: 105.5 kB / 1.344 GB, free: 13.93 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/1.209, allocations: 0 / 1.344 GB, free: 13.93 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/1.209, allocations: 6 kB / 1.344 GB, free: 13.92 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/1.209, allocations: 5.25 kB / 1.344 GB, free: 13.92 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.409e-05/1.209, allocations: 43.48 kB / 1.344 GB, free: 13.91 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005625/1.21, allocations: 491.8 kB / 1.344 GB, free: 13.5 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 7.506e-05/1.21, allocations: 57.67 kB / 1.344 GB, free: 13.45 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.777e-05/1.21, allocations: 28.08 kB / 1.344 GB, free: 13.43 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 9.117e-06/1.21, allocations: 0 / 1.344 GB, free: 13.43 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001694/1.21, allocations: 123.2 kB / 1.344 GB, free: 13.34 MB / 1.061 GB Notification: Performance of pre-optimization done (n=6): time 9.72e-07/1.21, allocations: 0 / 1.344 GB, free: 13.34 MB / 1.061 GB Notification: Performance of matching and sorting (n=6): time 0.0003033/1.21, allocations: 130.2 kB / 1.344 GB, free: 13.29 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.95e-05/1.21, allocations: 85.08 kB / 1.344 GB, free: 13.19 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.776e-05/1.21, allocations: 131.2 kB / 1.345 GB, free: 13.08 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.107e-05/1.21, allocations: 34.44 kB / 1.345 GB, free: 13.04 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.176e-05/1.21, allocations: 104.7 kB / 1.345 GB, free: 12.95 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.845e-05/1.21, allocations: 15.78 kB / 1.345 GB, free: 12.93 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/1.211, allocations: 56.98 kB / 1.345 GB, free: 12.91 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.526e-05/1.211, allocations: 316.4 kB / 1.345 GB, free: 12.59 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002431/1.211, allocations: 124.1 kB / 1.345 GB, free: 12.56 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002459/1.211, allocations: 160.8 kB / 1.345 GB, free: 12.48 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002634/1.211, allocations: 229.4 kB / 1.346 GB, free: 12.32 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/1.211, allocations: 0 / 1.346 GB, free: 12.32 MB / 1.061 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005991/1.212, allocations: 381.9 kB / 1.346 GB, free: 12.16 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 5.198e-05/1.212, allocations: 71.34 kB / 1.346 GB, free: 12.09 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/1.212, allocations: 1.969 kB / 1.346 GB, free: 12.09 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/1.212, allocations: 6.594 kB / 1.346 GB, free: 12.09 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.256e-05/1.212, allocations: 6.172 kB / 1.346 GB, free: 12.08 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/1.212, allocations: 6.562 kB / 1.346 GB, free: 12.08 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003889/1.212, allocations: 62.81 kB / 1.346 GB, free: 12.07 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.74e-05/1.213, allocations: 16.53 kB / 1.346 GB, free: 12.07 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 8 (booPul[1].y,$PRE.booPul[1].y,$whenCondition3,$whenCondition4,booPul[2].y,$PRE.booPul[2].y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * 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.0001061/1.213, allocations: 136.9 kB / 1.346 GB, free: 11.95 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.662e-05/1.213, allocations: 11.83 kB / 1.346 GB, free: 11.94 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.922e-05/1.213, allocations: 14.58 kB / 1.346 GB, free: 11.92 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/1.213, allocations: 1.219 kB / 1.346 GB, free: 11.92 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/1.213, allocations: 6.109 kB / 1.346 GB, free: 11.92 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/1.213, allocations: 1.188 kB / 1.346 GB, free: 11.92 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001299/1.213, allocations: 187.6 kB / 1.346 GB, free: 11.71 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.165e-06/1.213, allocations: 1.375 kB / 1.346 GB, free: 11.71 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.257e-06/1.213, allocations: 2.172 kB / 1.346 GB, free: 11.71 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/1.213, allocations: 1.375 kB / 1.346 GB, free: 11.71 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/1.213, allocations: 2.781 kB / 1.346 GB, free: 11.71 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/1.213, allocations: 4 kB / 1.346 GB, free: 11.71 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/1.213, allocations: 5.312 kB / 1.346 GB, free: 11.71 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001833/1.213, allocations: 133.1 kB / 1.347 GB, free: 11.61 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.591e-05/1.213, allocations: 86.95 kB / 1.347 GB, free: 11.51 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.88e-05/1.213, allocations: 5.922 kB / 1.347 GB, free: 11.51 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.148e-05/1.213, allocations: 2.172 kB / 1.347 GB, free: 11.51 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.476e-05/1.213, allocations: 12.56 kB / 1.347 GB, free: 11.5 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.774e-06/1.213, allocations: 3.359 kB / 1.347 GB, free: 11.5 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.329e-05/1.213, allocations: 106.9 kB / 1.347 GB, free: 11.41 MB / 1.061 GB Notification: Performance of sort global known variables: time 6.1e-08/1.213, allocations: 0 / 1.347 GB, free: 11.41 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002628/1.213, allocations: 32.8 kB / 1.347 GB, free: 11.41 MB / 1.061 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[1].y,$whenCondition1,$whenCondition2,booPul[2].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.0003876/1.214, allocations: 0.6776 MB / 1.347 GB, free: 10.79 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004529/1.214, allocations: 296 kB / 1.348 GB, free: 10.61 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/1.214, allocations: 1.344 kB / 1.348 GB, free: 10.61 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 5.739e-05/1.214, allocations: 32.02 kB / 1.348 GB, free: 10.61 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002486/1.215, allocations: 17.55 kB / 1.348 GB, free: 10.6 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002561/1.217, allocations: 2.184 MB / 1.35 GB, free: 9.043 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000174/1.217, allocations: 0.7071 MB / 1.351 GB, free: 8.34 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4e-05/1.217, allocations: 6.344 kB / 1.351 GB, free: 8.34 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.872e-05/1.217, allocations: 21.02 kB / 1.351 GB, free: 8.328 MB / 1.061 GB Notification: Performance of SimCode: time 3.6e-07/1.217, allocations: 0 / 1.351 GB, free: 8.328 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02238/1.24, allocations: 3.54 MB / 1.354 GB, free: 7.82 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.349/9.589, allocations: 10.38 kB / 1.354 GB, free: 7.816 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 16.526028940977994] Failed to read output from testmodel.py, exit status != 0: 9.720063358952757 9.74634498 8.534264704 Calling exit ...