Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.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.0008634/0.0008634, 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.0008583/0.0008583, 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.9604/0.9604, allocations: 177.1 MB / 203.5 MB, free: 5.746 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.995/1.995, allocations: 389.6 MB / 0.6343 GB, free: 12.59 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.Logical.Validation.Nand,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Logical_Validation_Nand",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Logical_Validation_Nand",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.136e-06/3.136e-06, allocations: 0 / 1.001 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.229e-05/2.543e-05, allocations: 2.281 kB / 1.001 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001886/0.001911, allocations: 0.6526 MB / 1.001 GB, free: 12.86 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001768/0.003679, allocations: 1.206 MB / 1.002 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.859e-05/0.003727, allocations: 4 kB / 1.002 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.629e-05/0.003754, allocations: 3.938 kB / 1.002 GB, free: 11.63 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.948e-05/0.003823, allocations: 7.875 kB / 1.003 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005345/0.004357, allocations: 223.5 kB / 1.003 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001797/0.004537, allocations: 167.7 kB / 1.003 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.508e-05/0.004632, allocations: 15.92 kB / 1.003 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001163/0.004749, allocations: 95.86 kB / 1.003 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.004849, allocations: 51.84 kB / 1.003 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.207e-05/0.004881, allocations: 16 kB / 1.003 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.489e-05/0.004946, allocations: 31.92 kB / 1.003 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.175e-05/0.004968, allocations: 8 kB / 1.003 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 6.281e-05/0.005031, allocations: 51.95 kB / 1.003 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002028/0.005234, allocations: 183.5 kB / 1.003 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.005237, allocations: 0 / 1.003 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.733e-06/0.005239, allocations: 0 / 1.003 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.005244, allocations: 0 / 1.003 GB, free: 10.8 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.0004611/0.005705, allocations: 361.5 kB / 1.004 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.099e-05/0.005756, allocations: 13.34 kB / 1.004 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.781e-05/0.005794, allocations: 30.75 kB / 1.004 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.045e-05/0.005855, allocations: 12.88 kB / 1.004 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.005964, allocations: 113.7 kB / 1.004 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.005981, allocations: 12.38 kB / 1.004 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.108e-05/0.006002, allocations: 12.36 kB / 1.004 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.006129, allocations: 46.25 kB / 1.004 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.006138, allocations: 192 / 1.004 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.006151, allocations: 384 / 1.004 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.006159, allocations: 4.125 kB / 1.004 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.303e-05/0.006202, allocations: 23.92 kB / 1.004 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004677/0.006669, allocations: 291.9 kB / 1.004 GB, free: 9.773 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 8.385e-05/0.006753, allocations: 34.56 kB / 1.004 GB, free: 9.73 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.476e-05/0.006788, allocations: 12.86 kB / 1.004 GB, free: 9.715 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.014e-05/0.006798, allocations: 7.938 kB / 1.004 GB, free: 9.707 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001952/0.006993, allocations: 83.36 kB / 1.004 GB, free: 9.613 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=7): time 1.663e-06/0.006995, allocations: 0 / 1.004 GB, free: 9.613 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7): time 0.0002263/0.007221, allocations: 97.67 kB / 1.004 GB, free: 9.512 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.402e-05/0.007265, allocations: 59.39 kB / 1.004 GB, free: 9.441 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.067e-05/0.007356, allocations: 121.7 kB / 1.005 GB, free: 9.312 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.372e-05/0.00738, allocations: 29.7 kB / 1.005 GB, free: 9.277 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.287e-05/0.007433, allocations: 92.12 kB / 1.005 GB, free: 9.184 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.889e-05/0.007452, allocations: 19.89 kB / 1.005 GB, free: 9.164 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.724e-05/0.007519, allocations: 49.69 kB / 1.005 GB, free: 9.109 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.411e-05/0.007613, allocations: 314.8 kB / 1.005 GB, free: 8.793 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001373/0.00775, allocations: 127.3 kB / 1.005 GB, free: 8.656 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001339/0.007884, allocations: 152.3 kB / 1.005 GB, free: 8.48 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001385/0.008023, allocations: 159.6 kB / 1.005 GB, free: 8.297 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.008027, allocations: 7.938 kB / 1.005 GB, free: 8.289 MB / 0.9636 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003253/0.008352, allocations: 324.2 kB / 1.006 GB, free: 7.941 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 4.823e-05/0.008401, allocations: 71.52 kB / 1.006 GB, free: 7.859 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.008407, allocations: 0 / 1.006 GB, free: 7.859 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.008422, allocations: 3.984 kB / 1.006 GB, free: 7.855 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.635e-05/0.008449, allocations: 11.98 kB / 1.006 GB, free: 7.844 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.008457, allocations: 3.938 kB / 1.006 GB, free: 7.84 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000228/0.008686, allocations: 51.88 kB / 1.006 GB, free: 7.789 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.034e-05/0.008716, allocations: 12 kB / 1.006 GB, free: 7.777 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,nand1.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 0.0001002/0.008816, allocations: 132.4 kB / 1.006 GB, free: 7.641 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.071e-05/0.008827, allocations: 7.953 kB / 1.006 GB, free: 7.633 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.776e-05/0.008855, allocations: 8.906 kB / 1.006 GB, free: 7.625 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.008858, allocations: 0 / 1.006 GB, free: 7.625 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.008864, allocations: 0 / 1.006 GB, free: 7.625 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.008869, allocations: 0 / 1.006 GB, free: 7.625 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001095/0.008978, allocations: 144.7 kB / 1.006 GB, free: 7.441 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.008979, allocations: 3.938 kB / 1.006 GB, free: 7.438 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.843e-06/0.008986, allocations: 7.938 kB / 1.006 GB, free: 7.43 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.008989, allocations: 0 / 1.006 GB, free: 7.43 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.008999, allocations: 8 kB / 1.006 GB, free: 7.422 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.009, allocations: 0 / 1.006 GB, free: 7.422 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.009003, allocations: 4 kB / 1.006 GB, free: 7.418 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000116/0.009119, allocations: 117 kB / 1.006 GB, free: 7.285 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 9.598e-06/0.009128, allocations: 3.953 kB / 1.006 GB, free: 7.281 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.467e-05/0.009143, allocations: 11.98 kB / 1.006 GB, free: 7.27 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.359e-05/0.009157, allocations: 0 / 1.006 GB, free: 7.27 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.187e-05/0.009199, allocations: 4 kB / 1.006 GB, free: 7.266 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.009205, allocations: 3.984 kB / 1.006 GB, free: 7.262 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.804e-05/0.009243, allocations: 87.28 kB / 1.006 GB, free: 7.176 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.009243, allocations: 0 / 1.006 GB, free: 7.176 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001747/0.009418, allocations: 39.98 kB / 1.007 GB, free: 7.137 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,nand1.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.000411/0.009829, allocations: 0.6591 MB / 1.007 GB, free: 6.445 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0003313/0.01016, allocations: 282.1 kB / 1.007 GB, free: 6.133 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.01016, allocations: 0 / 1.007 GB, free: 6.133 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 3.611e-05/0.0102, allocations: 20.47 kB / 1.007 GB, free: 6.113 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002249/0.01043, allocations: 12.39 kB / 1.007 GB, free: 6.102 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001692/0.01212, allocations: 1.964 MB / 1.009 GB, free: 3.969 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.84e-05/0.01217, allocations: 69.98 kB / 1.009 GB, free: 3.883 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.258e-05/0.0122, allocations: 11.84 kB / 1.009 GB, free: 3.871 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.254e-05/0.01224, allocations: 20.5 kB / 1.009 GB, free: 3.852 MB / 0.9636 GB Notification: Performance of SimCode: time 9.81e-07/0.01224, allocations: 96 / 1.009 GB, free: 3.852 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07661/0.08885, allocations: 3.751 MB / 1.013 GB, free: 288 kB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.071/7.16, allocations: 10.25 kB / 1.013 GB, free: 280 kB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_OBC_CDL_Logical_Validation_Nand_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_OBC_CDL_Logical_Validation_Nand.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_fmpy_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 ../Buildings_13_Buildings_Controls_OBC_CDL_Logical_Validation_Nand.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.952830263413489]