Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.0008005/0.0008005, allocations: 80.55 kB / 19.96 MB, free: 4.602 MB / 18.57 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.0008376/0.0008376, allocations: 173.2 kB / 23.24 MB, free: 1.324 MB / 18.57 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.075/1.075, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.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 1.93/1.93, allocations: 389.6 MB / 0.6343 GB, free: 12.58 MB / 0.6042 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.BooleanScalarReplicator,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.577e-06/3.577e-06, allocations: 0 / 1.001 GB, free: 13.56 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.565e-05/2.923e-05, allocations: 9.594 kB / 1.001 GB, free: 13.55 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001575/0.001604, allocations: 0.6219 MB / 1.001 GB, free: 12.93 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001493/0.003097, allocations: 1.136 MB / 1.002 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.177e-05/0.003169, allocations: 0 / 1.002 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001439/0.003313, allocations: 8 kB / 1.002 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 2.945e-05/0.003342, allocations: 7.922 kB / 1.002 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005221/0.003864, allocations: 125.4 kB / 1.003 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001706/0.004035, allocations: 87.89 kB / 1.003 GB, free: 11.56 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.004144, allocations: 3.938 kB / 1.003 GB, free: 11.56 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 9.079e-05/0.004235, allocations: 55.89 kB / 1.003 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001144/0.004349, allocations: 23.95 kB / 1.003 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.523e-05/0.004374, allocations: 8 kB / 1.003 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.782e-05/0.004442, allocations: 23.97 kB / 1.003 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 7.227e-05/0.004514, allocations: 12 kB / 1.003 GB, free: 11.44 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 5.992e-05/0.004574, allocations: 31.91 kB / 1.003 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001824/0.004757, allocations: 107.8 kB / 1.003 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.00476, allocations: 0 / 1.003 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.062e-06/0.004761, allocations: 0 / 1.003 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.004767, allocations: 0 / 1.003 GB, free: 11.3 MB / 0.9636 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.0004364/0.005203, allocations: 303.9 kB / 1.003 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.005244, allocations: 9.344 kB / 1.003 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.092e-05/0.005275, allocations: 42.73 kB / 1.003 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.696e-05/0.005312, allocations: 4.938 kB / 1.003 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001719/0.005484, allocations: 121.7 kB / 1.003 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.005498, allocations: 8.312 kB / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.759e-05/0.005515, allocations: 8.375 kB / 1.003 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001047/0.00562, allocations: 46.25 kB / 1.003 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.005629, allocations: 192 / 1.003 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.005639, allocations: 4.359 kB / 1.003 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.005645, allocations: 4.125 kB / 1.003 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.754e-05/0.005673, allocations: 12 kB / 1.003 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003105/0.005983, allocations: 251.9 kB / 1.004 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 4.832e-05/0.006032, allocations: 26.52 kB / 1.004 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.592e-05/0.006047, allocations: 16.92 kB / 1.004 GB, free: 10.33 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 4.909e-06/0.006052, allocations: 0 / 1.004 GB, free: 10.33 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001271/0.006179, allocations: 67.34 kB / 1.004 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.006181, allocations: 0 / 1.004 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.0001681/0.006349, allocations: 65.75 kB / 1.004 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.447e-05/0.006383, allocations: 59.39 kB / 1.004 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.685e-05/0.00646, allocations: 105.8 kB / 1.004 GB, free: 9.996 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.006478, allocations: 29.7 kB / 1.004 GB, free: 9.961 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.448e-05/0.006523, allocations: 88.09 kB / 1.004 GB, free: 9.871 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.003e-05/0.006533, allocations: 3.953 kB / 1.004 GB, free: 9.867 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.62e-05/0.006579, allocations: 33.7 kB / 1.004 GB, free: 9.828 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.555e-05/0.006664, allocations: 318.8 kB / 1.004 GB, free: 9.508 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.862e-05/0.006733, allocations: 61.67 kB / 1.004 GB, free: 9.441 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.645e-05/0.0068, allocations: 76.52 kB / 1.005 GB, free: 9.352 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.041e-05/0.00687, allocations: 84.27 kB / 1.005 GB, free: 9.254 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.006874, allocations: 7.938 kB / 1.005 GB, free: 9.246 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001699/0.007044, allocations: 176.9 kB / 1.005 GB, free: 9.055 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.728e-05/0.007071, allocations: 36.2 kB / 1.005 GB, free: 9.016 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.007075, allocations: 0 / 1.005 GB, free: 9.016 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.007087, allocations: 12.03 kB / 1.005 GB, free: 9.004 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.451e-05/0.007101, allocations: 3.984 kB / 1.005 GB, free: 9 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.9e-06/0.007106, allocations: 0 / 1.005 GB, free: 9 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001297/0.007236, allocations: 27.97 kB / 1.005 GB, free: 8.973 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.286e-05/0.007249, allocations: 4 kB / 1.005 GB, free: 8.969 MB / 0.9636 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 6.949e-05/0.007318, allocations: 125.7 kB / 1.005 GB, free: 8.836 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.39e-06/0.007323, allocations: 3.953 kB / 1.005 GB, free: 8.832 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.743e-05/0.007351, allocations: 11.98 kB / 1.005 GB, free: 8.812 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.007353, allocations: 4 kB / 1.005 GB, free: 8.809 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.007358, allocations: 0 / 1.005 GB, free: 8.809 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.00736, allocations: 0 / 1.005 GB, free: 8.809 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.841e-05/0.007439, allocations: 136.7 kB / 1.005 GB, free: 8.633 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.21e-07/0.007439, allocations: 0 / 1.005 GB, free: 8.633 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.785e-06/0.007442, allocations: 0 / 1.005 GB, free: 8.633 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.007443, allocations: 0 / 1.005 GB, free: 8.633 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-06/0.00745, allocations: 4 kB / 1.005 GB, free: 8.629 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.007452, allocations: 3.984 kB / 1.005 GB, free: 8.625 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-07/0.007453, allocations: 0 / 1.005 GB, free: 8.625 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.034e-05/0.007523, allocations: 85.05 kB / 1.005 GB, free: 8.523 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 6.071e-06/0.007529, allocations: 7.953 kB / 1.005 GB, free: 8.516 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.045e-06/0.007537, allocations: 3.938 kB / 1.005 GB, free: 8.512 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.795e-06/0.007545, allocations: 0 / 1.005 GB, free: 8.512 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.55e-05/0.00757, allocations: 11.98 kB / 1.005 GB, free: 8.5 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-06/0.007573, allocations: 0 / 1.005 GB, free: 8.5 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.745e-05/0.007601, allocations: 79.28 kB / 1.005 GB, free: 8.422 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.007601, allocations: 0 / 1.005 GB, free: 8.422 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001449/0.007746, allocations: 23.94 kB / 1.005 GB, free: 8.398 MB / 0.9636 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.0002687/0.008014, allocations: 0.6165 MB / 1.006 GB, free: 7.754 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001526/0.008167, allocations: 141 kB / 1.006 GB, free: 7.598 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.008169, allocations: 0 / 1.006 GB, free: 7.598 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.805e-05/0.008187, allocations: 12 kB / 1.006 GB, free: 7.586 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001582/0.008345, allocations: 8.281 kB / 1.006 GB, free: 7.578 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/0.009443, allocations: 1.5 MB / 1.008 GB, free: 5.949 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.502e-05/0.009488, allocations: 67.28 kB / 1.008 GB, free: 5.863 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 1.771e-05/0.009506, allocations: 4 kB / 1.008 GB, free: 5.859 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.863e-05/0.009535, allocations: 16.69 kB / 1.008 GB, free: 5.844 MB / 0.9636 GB Notification: Performance of SimCode: time 4.41e-07/0.009535, allocations: 0 / 1.008 GB, free: 5.844 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07999/0.08952, allocations: 2.742 MB / 1.01 GB, free: 3.266 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.579/7.669, allocations: 4.906 kB / 1.01 GB, free: 3.266 MB / 0.9636 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_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_BooleanScalarReplicator.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.606335243210196]