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.0008379/0.0008379, allocations: 108.3 kB / 19.73 MB, free: 420 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.0008997/0.0008997, allocations: 212.6 kB / 23.02 MB, free: 2.965 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 1.027/1.027, allocations: 230.6 MB / 256.8 MB, free: 9.594 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.008/2.008, allocations: 0.5045 GB / 0.8104 GB, free: 2.77 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.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 0.001007/0.001007, allocations: 67.89 kB / 1.177 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.783/0.784, allocations: 180 MB / 1.352 GB, free: 1.691 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001584/0.7856, allocations: 0.6498 MB / 1.353 GB, free: 1.043 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.001651/0.7872, allocations: 1.206 MB / 1.354 GB, free: 15.82 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.919e-05/0.7873, allocations: 0 / 1.354 GB, free: 15.82 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 3.25e-05/0.7873, allocations: 3.938 kB / 1.354 GB, free: 15.82 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 7.018e-05/0.7874, allocations: 11.86 kB / 1.354 GB, free: 15.81 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005127/0.7879, allocations: 231.6 kB / 1.355 GB, free: 15.59 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0001895/0.7881, allocations: 163.8 kB / 1.355 GB, free: 15.43 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.885e-05/0.7882, allocations: 7.984 kB / 1.355 GB, free: 15.42 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.182e-05/0.7883, allocations: 67.89 kB / 1.355 GB, free: 15.36 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001074/0.7884, allocations: 55.84 kB / 1.355 GB, free: 15.3 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 2.391e-05/0.7884, allocations: 16 kB / 1.355 GB, free: 15.29 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.051e-05/0.7885, allocations: 27.92 kB / 1.355 GB, free: 15.26 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 2.131e-05/0.7885, allocations: 11.94 kB / 1.355 GB, free: 15.25 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 6.095e-05/0.7885, allocations: 59.88 kB / 1.355 GB, free: 15.19 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.000173/0.7887, allocations: 145.9 kB / 1.355 GB, free: 15.05 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.7887, allocations: 11.94 kB / 1.355 GB, free: 15.04 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.934e-06/0.7887, allocations: 0 / 1.355 GB, free: 15.04 MB / 1.042 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.7887, allocations: 0 / 1.355 GB, free: 15.04 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004657/0.7892, allocations: 353.6 kB / 1.355 GB, free: 14.64 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.7892, allocations: 12.92 kB / 1.355 GB, free: 14.63 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.906e-05/0.7893, allocations: 38.69 kB / 1.355 GB, free: 14.59 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.432e-05/0.7893, allocations: 12.89 kB / 1.355 GB, free: 14.57 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.455e-05/0.7894, allocations: 114.5 kB / 1.356 GB, free: 14.44 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.7894, allocations: 4.375 kB / 1.356 GB, free: 14.43 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.052e-05/0.7894, allocations: 16.36 kB / 1.356 GB, free: 14.42 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001009/0.7895, allocations: 46.19 kB / 1.356 GB, free: 14.37 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.7895, allocations: 7.938 kB / 1.356 GB, free: 14.36 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.7895, allocations: 4 kB / 1.356 GB, free: 14.36 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.7896, allocations: 0 / 1.356 GB, free: 14.36 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.491e-05/0.7896, allocations: 15.98 kB / 1.356 GB, free: 14.34 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004056/0.79, allocations: 291.9 kB / 1.356 GB, free: 14.01 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.039e-05/0.7901, allocations: 34.52 kB / 1.356 GB, free: 13.97 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.292e-05/0.7901, allocations: 20.94 kB / 1.356 GB, free: 13.95 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.618e-06/0.7901, allocations: 0 / 1.356 GB, free: 13.95 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001639/0.7903, allocations: 75.38 kB / 1.356 GB, free: 13.86 MB / 1.042 GB Notification: Performance of pre-optimization done (n=7): time 1.734e-06/0.7903, allocations: 4 kB / 1.356 GB, free: 13.86 MB / 1.042 GB Notification: Performance of matching and sorting (n=7): time 0.0002229/0.7905, allocations: 109.5 kB / 1.356 GB, free: 13.74 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.535e-05/0.7905, allocations: 59.41 kB / 1.356 GB, free: 13.67 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.744e-05/0.7906, allocations: 121.8 kB / 1.356 GB, free: 13.54 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.7906, allocations: 29.7 kB / 1.356 GB, free: 13.51 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 4.953e-05/0.7907, allocations: 88.14 kB / 1.356 GB, free: 13.42 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 1.463e-05/0.7907, allocations: 19.89 kB / 1.356 GB, free: 13.4 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.036e-05/0.7907, allocations: 49.69 kB / 1.357 GB, free: 13.34 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 8.718e-05/0.7908, allocations: 314.8 kB / 1.357 GB, free: 13.03 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001226/0.791, allocations: 127.4 kB / 1.357 GB, free: 12.89 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001216/0.7911, allocations: 151.7 kB / 1.357 GB, free: 12.71 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001295/0.7912, allocations: 172 kB / 1.357 GB, free: 12.52 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.7912, allocations: 0 / 1.357 GB, free: 12.52 MB / 1.042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002946/0.7915, allocations: 320.2 kB / 1.358 GB, free: 12.18 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 4.687e-05/0.7915, allocations: 75.33 kB / 1.358 GB, free: 12.09 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.7916, allocations: 0 / 1.358 GB, free: 12.09 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.7916, allocations: 128 / 1.358 GB, free: 12.09 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.009e-05/0.7916, allocations: 8 kB / 1.358 GB, free: 12.08 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.7916, allocations: 3.984 kB / 1.358 GB, free: 12.08 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001947/0.7918, allocations: 55.88 kB / 1.358 GB, free: 12.02 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.035e-05/0.7918, allocations: 12 kB / 1.358 GB, free: 12.01 MB / 1.042 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 7.739e-05/0.7919, allocations: 126.3 kB / 1.358 GB, free: 11.88 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.969e-06/0.7919, allocations: 7.891 kB / 1.358 GB, free: 11.87 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.521e-05/0.7919, allocations: 16.38 kB / 1.358 GB, free: 11.86 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.7919, allocations: 0 / 1.358 GB, free: 11.86 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.7919, allocations: 0 / 1.358 GB, free: 11.86 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.7919, allocations: 3.984 kB / 1.358 GB, free: 11.85 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.316e-05/0.792, allocations: 148.7 kB / 1.358 GB, free: 11.66 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.792, allocations: 0 / 1.358 GB, free: 11.66 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.154e-06/0.792, allocations: 4 kB / 1.358 GB, free: 11.66 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.792, allocations: 0 / 1.358 GB, free: 11.66 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.152e-06/0.792, allocations: 0 / 1.358 GB, free: 11.66 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.792, allocations: 0 / 1.358 GB, free: 11.66 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.792, allocations: 0 / 1.358 GB, free: 11.66 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001128/0.7922, allocations: 121 kB / 1.358 GB, free: 11.52 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.773e-06/0.7922, allocations: 3.953 kB / 1.358 GB, free: 11.52 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.376e-05/0.7922, allocations: 7.984 kB / 1.358 GB, free: 11.51 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.533e-05/0.7922, allocations: 4 kB / 1.358 GB, free: 11.51 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.482e-05/0.7922, allocations: 3.938 kB / 1.358 GB, free: 11.5 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.181e-06/0.7922, allocations: 7.984 kB / 1.358 GB, free: 11.5 MB / 1.042 GB Notification: Performance of sorting global known variables: time 3.44e-05/0.7923, allocations: 91.22 kB / 1.358 GB, free: 11.41 MB / 1.042 GB Notification: Performance of sort global known variables: time 5e-08/0.7923, allocations: 0 / 1.358 GB, free: 11.41 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001622/0.7924, allocations: 35.98 kB / 1.358 GB, free: 11.37 MB / 1.042 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.0003527/0.7928, allocations: 0.6518 MB / 1.359 GB, free: 10.69 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0002738/0.7931, allocations: 278.1 kB / 1.359 GB, free: 10.38 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.7931, allocations: 4 kB / 1.359 GB, free: 10.38 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 4.348e-05/0.7931, allocations: 24 kB / 1.359 GB, free: 10.36 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002071/0.7933, allocations: 16.17 kB / 1.359 GB, free: 10.34 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001738/0.795, allocations: 1.96 MB / 1.361 GB, free: 8.207 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.442e-05/0.7951, allocations: 83.23 kB / 1.361 GB, free: 8.105 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 3.166e-05/0.7951, allocations: 15.64 kB / 1.361 GB, free: 8.09 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.638e-05/0.7952, allocations: 15.42 kB / 1.361 GB, free: 8.074 MB / 1.042 GB Notification: Performance of SimCode: time 1.162e-06/0.7952, allocations: 0 / 1.361 GB, free: 8.074 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08117/0.8763, allocations: 3.635 MB / 1.365 GB, free: 4.617 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.117/7.993, allocations: 2.375 kB / 1.365 GB, free: 4.617 MB / 1.042 GB " [Timeout remaining time 292] (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: 12.984966209158301]