Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.And.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.0008462/0.0008462, 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.001308/0.001308, allocations: 173.6 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 0.9149/0.9149, allocations: 177.1 MB / 203.5 MB, free: 5.754 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.864/1.864, allocations: 389.6 MB / 0.6343 GB, free: 12.6 MB / 0.6042 GB " [Timeout remaining time 178] 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.Logical.Validation.And,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Logical_Validation_And",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Logical_Validation_And",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.725e-06/2.725e-06, allocations: 3.938 kB / 1.001 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.105e-05/2.378e-05, allocations: 2.281 kB / 1.001 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.001319/0.001343, allocations: 0.6486 MB / 1.001 GB, free: 12.88 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001141/0.002484, allocations: 1.206 MB / 1.002 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.363e-05/0.002527, allocations: 0 / 1.002 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.512e-05/0.002552, allocations: 3.938 kB / 1.002 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.074e-05/0.002613, allocations: 11.94 kB / 1.003 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.000536/0.003149, allocations: 221 kB / 1.003 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001772/0.003326, allocations: 183.6 kB / 1.003 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 8.864e-05/0.003415, allocations: 7.984 kB / 1.003 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001088/0.003524, allocations: 91.92 kB / 1.003 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 9.864e-05/0.003622, allocations: 59.78 kB / 1.003 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.482e-05/0.003647, allocations: 16 kB / 1.003 GB, free: 11.08 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.041e-05/0.003708, allocations: 23.98 kB / 1.003 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.834e-05/0.003726, allocations: 8 kB / 1.003 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 9.149e-05/0.003817, allocations: 47.89 kB / 1.003 GB, free: 11 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001819/0.003999, allocations: 179.6 kB / 1.003 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.004002, allocations: 4 kB / 1.003 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.012e-06/0.004003, allocations: 7.938 kB / 1.003 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.004007, allocations: 0 / 1.003 GB, free: 10.81 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.0003866/0.004394, allocations: 361.5 kB / 1.004 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.004432, allocations: 13.28 kB / 1.004 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.841e-05/0.004461, allocations: 38.75 kB / 1.004 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.06e-05/0.004501, allocations: 4.938 kB / 1.004 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.308e-05/0.004574, allocations: 109.8 kB / 1.004 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.004588, allocations: 8.375 kB / 1.004 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.822e-05/0.004607, allocations: 12.36 kB / 1.004 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.768e-05/0.004694, allocations: 50.25 kB / 1.004 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.004701, allocations: 192 / 1.004 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-06/0.004709, allocations: 384 / 1.004 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.004716, allocations: 8.125 kB / 1.004 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.38e-05/0.00475, allocations: 19.92 kB / 1.004 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003483/0.005098, allocations: 291.9 kB / 1.004 GB, free: 9.789 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 6.352e-05/0.005161, allocations: 26.58 kB / 1.004 GB, free: 9.754 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.416e-05/0.005186, allocations: 20.94 kB / 1.004 GB, free: 9.73 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 7.714e-06/0.005193, allocations: 3.938 kB / 1.004 GB, free: 9.727 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001545/0.005348, allocations: 83.27 kB / 1.004 GB, free: 9.633 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.005349, allocations: 4 kB / 1.004 GB, free: 9.629 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7): time 0.0001999/0.005549, allocations: 101.7 kB / 1.004 GB, free: 9.523 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.168e-05/0.00558, allocations: 55.41 kB / 1.004 GB, free: 9.457 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.191e-05/0.005652, allocations: 125.7 kB / 1.005 GB, free: 9.324 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.391e-05/0.005676, allocations: 33.7 kB / 1.005 GB, free: 9.285 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.409e-05/0.00572, allocations: 92.12 kB / 1.005 GB, free: 9.191 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.299e-05/0.005733, allocations: 19.83 kB / 1.005 GB, free: 9.172 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.794e-05/0.005791, allocations: 45.69 kB / 1.005 GB, free: 9.121 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.06e-05/0.005862, allocations: 318.8 kB / 1.005 GB, free: 8.801 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001194/0.005981, allocations: 119.4 kB / 1.005 GB, free: 8.672 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000121/0.006102, allocations: 155.7 kB / 1.005 GB, free: 8.492 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001292/0.006232, allocations: 159.6 kB / 1.005 GB, free: 8.309 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.006235, allocations: 3.938 kB / 1.006 GB, free: 8.305 MB / 0.9636 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003033/0.006538, allocations: 324.2 kB / 1.006 GB, free: 7.957 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 3.869e-05/0.006577, allocations: 67.39 kB / 1.006 GB, free: 7.879 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.006583, allocations: 4 kB / 1.006 GB, free: 7.875 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.006593, allocations: 4.125 kB / 1.006 GB, free: 7.871 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.828e-05/0.006611, allocations: 12 kB / 1.006 GB, free: 7.859 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.006618, allocations: 3.984 kB / 1.006 GB, free: 7.855 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001956/0.006813, allocations: 51.88 kB / 1.006 GB, free: 7.805 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.955e-05/0.006833, allocations: 12 kB / 1.006 GB, free: 7.793 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,and1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * 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 7.575e-05/0.006909, allocations: 136.3 kB / 1.006 GB, free: 7.652 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.345e-06/0.006917, allocations: 7.953 kB / 1.006 GB, free: 7.645 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.325e-05/0.00694, allocations: 12.91 kB / 1.006 GB, free: 7.633 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.006942, allocations: 0 / 1.006 GB, free: 7.633 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.006946, allocations: 0 / 1.006 GB, free: 7.633 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.00695, allocations: 0 / 1.006 GB, free: 7.633 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.433e-05/0.007034, allocations: 148.7 kB / 1.006 GB, free: 7.445 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.007035, allocations: 3.938 kB / 1.006 GB, free: 7.441 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.228e-06/0.00704, allocations: 0 / 1.006 GB, free: 7.441 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.007041, allocations: 4 kB / 1.006 GB, free: 7.438 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.74e-06/0.007047, allocations: 0 / 1.006 GB, free: 7.438 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.007048, allocations: 3.938 kB / 1.006 GB, free: 7.434 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.007049, allocations: 4 kB / 1.006 GB, free: 7.43 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001022/0.007151, allocations: 113 kB / 1.006 GB, free: 7.301 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 7.734e-06/0.007159, allocations: 7.953 kB / 1.006 GB, free: 7.293 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.007173, allocations: 3.984 kB / 1.006 GB, free: 7.289 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.439e-05/0.007187, allocations: 4 kB / 1.006 GB, free: 7.285 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.163e-05/0.007219, allocations: 4 kB / 1.006 GB, free: 7.281 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/0.007224, allocations: 7.984 kB / 1.006 GB, free: 7.273 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 9.963e-05/0.007324, allocations: 87.28 kB / 1.006 GB, free: 7.188 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.007324, allocations: 0 / 1.006 GB, free: 7.188 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001689/0.007493, allocations: 28 kB / 1.007 GB, free: 7.16 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: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,and1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.0003179/0.007811, allocations: 0.6631 MB / 1.007 GB, free: 6.465 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002478/0.008059, allocations: 278.1 kB / 1.007 GB, free: 6.156 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.00806, allocations: 0 / 1.007 GB, free: 6.156 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 2.898e-05/0.008089, allocations: 20.47 kB / 1.007 GB, free: 6.137 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001768/0.008266, allocations: 16.14 kB / 1.007 GB, free: 6.121 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00149/0.009755, allocations: 1.965 MB / 1.009 GB, free: 3.984 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.872e-05/0.009794, allocations: 67.34 kB / 1.009 GB, free: 3.898 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.616e-05/0.00982, allocations: 7.859 kB / 1.009 GB, free: 3.891 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.373e-05/0.009854, allocations: 24.42 kB / 1.009 GB, free: 3.867 MB / 0.9636 GB Notification: Performance of SimCode: time 9.62e-07/0.009855, allocations: 96 / 1.009 GB, free: 3.867 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08194/0.09179, allocations: 3.754 MB / 1.013 GB, free: 308 kB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.299/7.39, allocations: 0 / 1.013 GB, free: 308 kB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_OBC_CDL_Logical_Validation_And_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_OBC_CDL_Logical_Validation_And.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.And_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.And_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.And_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.And_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.And_fmpy_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 ../Buildings_13_Buildings_Controls_OBC_CDL_Logical_Validation_And.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.And_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.93369369674474]