Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.001171/0.001171, allocations: 100.3 kB / 19.72 MB, free: 428 kB / 13.93 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.001033/0.001033, allocations: 215.3 kB / 23.02 MB, free: 2.973 MB / 13.93 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 0.9781/0.9781, allocations: 230.6 MB / 256.8 MB, free: 9.586 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 2.021/2.021, allocations: 0.5045 GB / 0.8104 GB, free: 2.781 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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_13_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 71.89 kB / 1.177 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7153/0.7166, allocations: 180 MB / 1.352 GB, free: 1.719 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.00221/0.7188, allocations: 0.6322 MB / 1.353 GB, free: 1.094 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.001478/0.7203, allocations: 1.13 MB / 1.354 GB, free: 15.95 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.442e-05/0.7203, allocations: 0 / 1.354 GB, free: 15.95 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.000126/0.7205, allocations: 7.922 kB / 1.354 GB, free: 15.94 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.000117/0.7206, allocations: 4 kB / 1.354 GB, free: 15.94 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005007/0.7211, allocations: 130.6 kB / 1.354 GB, free: 15.81 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0002895/0.7214, allocations: 187.6 kB / 1.354 GB, free: 15.63 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.7215, allocations: 11.98 kB / 1.354 GB, free: 15.62 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001121/0.7216, allocations: 83.88 kB / 1.355 GB, free: 15.54 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002042/0.7218, allocations: 79.84 kB / 1.355 GB, free: 15.46 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 3.723e-05/0.7218, allocations: 16 kB / 1.355 GB, free: 15.44 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.441e-05/0.7219, allocations: 23.98 kB / 1.355 GB, free: 15.42 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 6.474e-05/0.722, allocations: 23.92 kB / 1.355 GB, free: 15.39 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 9.445e-05/0.7221, allocations: 67.83 kB / 1.355 GB, free: 15.33 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002561/0.7223, allocations: 203.3 kB / 1.355 GB, free: 15.13 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.7223, allocations: 0 / 1.355 GB, free: 15.13 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.756e-06/0.7223, allocations: 0 / 1.355 GB, free: 15.13 MB / 1.042 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.7224, allocations: 0 / 1.355 GB, free: 15.13 MB / 1.042 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.0006098/0.723, allocations: 377.5 kB / 1.355 GB, free: 14.72 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 5.8e-05/0.723, allocations: 8.922 kB / 1.355 GB, free: 14.71 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.411e-05/0.7231, allocations: 42.73 kB / 1.355 GB, free: 14.66 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.081e-05/0.7231, allocations: 16.83 kB / 1.355 GB, free: 14.64 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002493/0.7234, allocations: 162.4 kB / 1.356 GB, free: 14.46 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.7234, allocations: 4.375 kB / 1.356 GB, free: 14.46 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.174e-05/0.7234, allocations: 24.31 kB / 1.356 GB, free: 14.43 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001804/0.7236, allocations: 91.92 kB / 1.356 GB, free: 14.33 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.7236, allocations: 7.938 kB / 1.356 GB, free: 14.32 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.7236, allocations: 4 kB / 1.356 GB, free: 14.32 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.7236, allocations: 0 / 1.356 GB, free: 14.32 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.092e-05/0.7237, allocations: 51.83 kB / 1.356 GB, free: 14.27 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005221/0.7242, allocations: 424.1 kB / 1.356 GB, free: 13.81 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.599e-05/0.7243, allocations: 57.12 kB / 1.356 GB, free: 13.73 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.413e-05/0.7243, allocations: 25.77 kB / 1.356 GB, free: 13.7 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.486e-06/0.7243, allocations: 4 kB / 1.356 GB, free: 13.7 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001748/0.7245, allocations: 117 kB / 1.356 GB, free: 13.57 MB / 1.042 GB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.7245, allocations: 0 / 1.356 GB, free: 13.57 MB / 1.042 GB Notification: Performance of matching and sorting (n=6): time 0.0002945/0.7248, allocations: 133.9 kB / 1.356 GB, free: 13.43 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.063e-05/0.7249, allocations: 81.11 kB / 1.357 GB, free: 13.33 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.725, allocations: 141.7 kB / 1.357 GB, free: 13.18 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 3.054e-05/0.725, allocations: 33.69 kB / 1.357 GB, free: 13.14 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 7.153e-05/0.7251, allocations: 100.1 kB / 1.357 GB, free: 13.04 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 1.656e-05/0.7251, allocations: 11.95 kB / 1.357 GB, free: 13.03 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.077e-05/0.7252, allocations: 49.69 kB / 1.357 GB, free: 12.98 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 9.679e-05/0.7253, allocations: 326.8 kB / 1.357 GB, free: 12.65 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002551/0.7255, allocations: 187.3 kB / 1.357 GB, free: 12.45 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002406/0.7258, allocations: 236.4 kB / 1.358 GB, free: 12.19 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002352/0.726, allocations: 220.3 kB / 1.358 GB, free: 11.95 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.726, allocations: 4 kB / 1.358 GB, free: 11.94 MB / 1.042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.00055/0.7266, allocations: 456.2 kB / 1.358 GB, free: 11.46 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 5.057e-05/0.7266, allocations: 71.39 kB / 1.358 GB, free: 11.38 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.7266, allocations: 0 / 1.358 GB, free: 11.38 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.7266, allocations: 4 kB / 1.358 GB, free: 11.38 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.634e-05/0.7267, allocations: 0 / 1.358 GB, free: 11.38 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.7267, allocations: 4 kB / 1.358 GB, free: 11.38 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002855/0.7269, allocations: 63.81 kB / 1.358 GB, free: 11.31 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.232e-05/0.727, allocations: 16.05 kB / 1.358 GB, free: 11.3 MB / 1.042 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.000113/0.7271, allocations: 142.3 kB / 1.359 GB, free: 11.15 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.357e-05/0.7271, allocations: 11.88 kB / 1.359 GB, free: 11.14 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.7e-05/0.7271, allocations: 12 kB / 1.359 GB, free: 11.12 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.7271, allocations: 3.938 kB / 1.359 GB, free: 11.12 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.7271, allocations: 4 kB / 1.359 GB, free: 11.11 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.7271, allocations: 3.938 kB / 1.359 GB, free: 11.11 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001213/0.7273, allocations: 156.7 kB / 1.359 GB, free: 10.91 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.7273, allocations: 0 / 1.359 GB, free: 10.91 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.442e-06/0.7273, allocations: 0 / 1.359 GB, free: 10.91 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.7273, allocations: 4 kB / 1.359 GB, free: 10.91 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.7273, allocations: 11.98 kB / 1.359 GB, free: 10.9 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.7273, allocations: 0 / 1.359 GB, free: 10.9 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.7273, allocations: 0 / 1.359 GB, free: 10.9 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001587/0.7274, allocations: 137.8 kB / 1.359 GB, free: 10.74 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.027e-06/0.7275, allocations: 3.953 kB / 1.359 GB, free: 10.74 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.654e-05/0.7275, allocations: 8 kB / 1.359 GB, free: 10.73 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.893e-05/0.7275, allocations: 0 / 1.359 GB, free: 10.73 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.043e-05/0.7275, allocations: 11.92 kB / 1.359 GB, free: 10.72 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.503e-06/0.7275, allocations: 0 / 1.359 GB, free: 10.72 MB / 1.042 GB Notification: Performance of sorting global known variables: time 5.345e-05/0.7276, allocations: 103.8 kB / 1.359 GB, free: 10.62 MB / 1.042 GB Notification: Performance of sort global known variables: time 8e-08/0.7276, allocations: 4 kB / 1.359 GB, free: 10.61 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0002497/0.7278, allocations: 31.95 kB / 1.359 GB, free: 10.58 MB / 1.042 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.0003981/0.7282, allocations: 0.6761 MB / 1.36 GB, free: 9.875 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0004259/0.7287, allocations: 366 kB / 1.36 GB, free: 9.48 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.7287, allocations: 0 / 1.36 GB, free: 9.48 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 4.643e-05/0.7287, allocations: 31.97 kB / 1.36 GB, free: 9.449 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002471/0.729, allocations: 28.42 kB / 1.36 GB, free: 9.422 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002551/0.7315, allocations: 2.444 MB / 1.362 GB, free: 6.797 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.111e-05/0.7316, allocations: 91.06 kB / 1.363 GB, free: 6.688 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 3.342e-05/0.7316, allocations: 7.781 kB / 1.363 GB, free: 6.68 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.042e-05/0.7317, allocations: 31.55 kB / 1.363 GB, free: 6.648 MB / 1.042 GB Notification: Performance of SimCode: time 7.51e-07/0.7317, allocations: 0 / 1.363 GB, free: 6.648 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1095/0.8412, allocations: 4.214 MB / 1.367 GB, free: 2.625 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.026/7.867, allocations: 15.81 kB / 1.367 GB, free: 2.613 MB / 1.042 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../Buildings_13_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.740697665140033]