Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001569/0.001569, allocations: 113.3 kB / 18.94 MB, free: 2.934 MB / 14.72 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.002391/0.002391, allocations: 214 kB / 22.25 MB, free: 5.082 MB / 14.72 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.543/1.543, allocations: 230.6 MB / 256 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.316/3.316, allocations: 0.505 GB / 0.8101 GB, free: 22.22 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Nand",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Nand",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002051/0.002051, allocations: 64.69 kB / 1.177 GB, free: 17.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3781/0.3801, allocations: 180.2 MB / 1.353 GB, free: 8.5 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001893/0.382, allocations: 0.6489 MB / 1.354 GB, free: 7.852 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00156/0.3836, allocations: 1.222 MB / 1.355 GB, free: 6.617 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.685e-05/0.3836, allocations: 4 kB / 1.355 GB, free: 6.613 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.748e-05/0.3837, allocations: 3.938 kB / 1.355 GB, free: 6.609 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.54e-05/0.3837, allocations: 19.91 kB / 1.355 GB, free: 6.59 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006385/0.3844, allocations: 214 kB / 1.355 GB, free: 6.387 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002689/0.3846, allocations: 175.7 kB / 1.355 GB, free: 6.215 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.519e-05/0.3847, allocations: 15.94 kB / 1.355 GB, free: 6.199 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001196/0.3849, allocations: 79.81 kB / 1.355 GB, free: 6.121 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001426/0.385, allocations: 59.84 kB / 1.355 GB, free: 6.062 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.147e-05/0.385, allocations: 12 kB / 1.355 GB, free: 6.051 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 8.236e-05/0.3851, allocations: 31.98 kB / 1.355 GB, free: 6.02 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.484e-05/0.3851, allocations: 11.94 kB / 1.355 GB, free: 6.008 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 8.641e-05/0.3852, allocations: 55.88 kB / 1.355 GB, free: 5.953 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002344/0.3855, allocations: 151.8 kB / 1.356 GB, free: 5.805 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3855, allocations: 0 / 1.356 GB, free: 5.805 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3855, allocations: 0 / 1.356 GB, free: 5.805 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.3855, allocations: 0 / 1.356 GB, free: 5.805 MB / 1.045 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.0005653/0.386, allocations: 365.5 kB / 1.356 GB, free: 5.402 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.3861, allocations: 8.031 kB / 1.356 GB, free: 5.395 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.035e-05/0.3861, allocations: 38.73 kB / 1.356 GB, free: 5.348 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.052e-05/0.3862, allocations: 8.891 kB / 1.356 GB, free: 5.34 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/0.3863, allocations: 110.5 kB / 1.356 GB, free: 5.207 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/0.3863, allocations: 8.375 kB / 1.356 GB, free: 5.199 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.481e-05/0.3863, allocations: 12.38 kB / 1.356 GB, free: 5.188 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001159/0.3864, allocations: 46.23 kB / 1.356 GB, free: 5.137 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.3865, allocations: 3.938 kB / 1.356 GB, free: 5.133 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.928e-06/0.3865, allocations: 0 / 1.356 GB, free: 5.133 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.3865, allocations: 4 kB / 1.356 GB, free: 5.129 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.059e-05/0.3865, allocations: 12 kB / 1.356 GB, free: 5.117 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005235/0.387, allocations: 339.6 kB / 1.356 GB, free: 4.742 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 9.675e-05/0.3871, allocations: 30.56 kB / 1.356 GB, free: 4.703 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.972e-05/0.3872, allocations: 12.86 kB / 1.356 GB, free: 4.688 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.497e-05/0.3872, allocations: 3.984 kB / 1.356 GB, free: 4.684 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002146/0.3874, allocations: 91.39 kB / 1.357 GB, free: 4.582 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/0.3874, allocations: 0 / 1.357 GB, free: 4.582 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.0002786/0.3877, allocations: 97.86 kB / 1.357 GB, free: 4.48 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.824e-05/0.3877, allocations: 55.41 kB / 1.357 GB, free: 4.414 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.3878, allocations: 117.8 kB / 1.357 GB, free: 4.289 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.291e-05/0.3879, allocations: 33.7 kB / 1.357 GB, free: 4.25 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.279e-05/0.388, allocations: 100.1 kB / 1.357 GB, free: 4.148 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.685e-05/0.388, allocations: 11.95 kB / 1.357 GB, free: 4.137 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.691e-05/0.3881, allocations: 49.62 kB / 1.357 GB, free: 4.082 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002057/0.3883, allocations: 326.8 kB / 1.357 GB, free: 3.754 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001437/0.3884, allocations: 59.97 kB / 1.357 GB, free: 3.695 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001495/0.3886, allocations: 88.2 kB / 1.357 GB, free: 3.594 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002113/0.3888, allocations: 167.6 kB / 1.358 GB, free: 3.402 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3888, allocations: 0 / 1.358 GB, free: 3.402 MB / 1.045 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004405/0.3892, allocations: 268.8 kB / 1.358 GB, free: 3.121 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 6.685e-05/0.3893, allocations: 67.39 kB / 1.358 GB, free: 3.043 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.3893, allocations: 128 / 1.358 GB, free: 3.043 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.3893, allocations: 8 kB / 1.358 GB, free: 3.035 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.03e-05/0.3893, allocations: 0 / 1.358 GB, free: 3.035 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.3894, allocations: 8.062 kB / 1.358 GB, free: 3.027 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003293/0.3897, allocations: 51.89 kB / 1.358 GB, free: 2.977 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.171e-05/0.3897, allocations: 15.92 kB / 1.358 GB, free: 2.961 MB / 1.045 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.0001328/0.3898, allocations: 139.8 kB / 1.358 GB, free: 2.816 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.482e-05/0.3899, allocations: 7.953 kB / 1.358 GB, free: 2.809 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.743e-05/0.3899, allocations: 8.359 kB / 1.358 GB, free: 2.801 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.3899, allocations: 0 / 1.358 GB, free: 2.801 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.3899, allocations: 0 / 1.358 GB, free: 2.801 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.3899, allocations: 7.938 kB / 1.358 GB, free: 2.793 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001535/0.3901, allocations: 148.7 kB / 1.358 GB, free: 2.605 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.3901, allocations: 4 kB / 1.358 GB, free: 2.602 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.494e-06/0.3901, allocations: 0 / 1.358 GB, free: 2.602 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.339e-06/0.3901, allocations: 3.984 kB / 1.358 GB, free: 2.598 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-06/0.3901, allocations: 0 / 1.358 GB, free: 2.598 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.3901, allocations: 8 kB / 1.358 GB, free: 2.59 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3901, allocations: 0 / 1.358 GB, free: 2.59 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001506/0.3902, allocations: 109 kB / 1.358 GB, free: 2.465 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.207e-05/0.3902, allocations: 7.953 kB / 1.358 GB, free: 2.457 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/0.3903, allocations: 0 / 1.358 GB, free: 2.457 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.011e-05/0.3903, allocations: 4 kB / 1.358 GB, free: 2.453 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.962e-05/0.3903, allocations: 7.984 kB / 1.358 GB, free: 2.445 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.3903, allocations: 4 kB / 1.358 GB, free: 2.441 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.096e-05/0.3904, allocations: 95.27 kB / 1.359 GB, free: 2.348 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3904, allocations: 0 / 1.359 GB, free: 2.348 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000229/0.3906, allocations: 28 kB / 1.359 GB, free: 2.32 MB / 1.045 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.0005025/0.3911, allocations: 0.6552 MB / 1.359 GB, free: 1.637 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003432/0.3915, allocations: 218.7 kB / 1.359 GB, free: 1.398 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.3915, allocations: 0 / 1.359 GB, free: 1.398 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 4.538e-05/0.3915, allocations: 19.98 kB / 1.359 GB, free: 1.379 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002442/0.3917, allocations: 18.22 kB / 1.359 GB, free: 1.363 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002032/0.3938, allocations: 1.726 MB / 1.361 GB, free: 15.52 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000308/0.3941, allocations: 0.6846 MB / 1.362 GB, free: 14.8 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.87e-05/0.3941, allocations: 8 kB / 1.362 GB, free: 14.8 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.033e-05/0.3942, allocations: 19.42 kB / 1.362 GB, free: 14.78 MB / 1.061 GB Notification: Performance of SimCode: time 2.81e-07/0.3942, allocations: 0 / 1.362 GB, free: 14.78 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02865/0.4228, allocations: 3.031 MB / 1.365 GB, free: 11.89 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/11.22, allocations: 5.531 kB / 1.365 GB, free: 11.89 MB / 1.061 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.csv --start-time 0 --stop-time 5 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Nand.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Nand.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable nand1.u1 in file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.csv. Warning: Get data of variable nand1.u1 from file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.csv failed! Error: Could not read variable nand1.u2 in file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.csv. Warning: Get data of variable nand1.u2 from file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.csv failed! Error: Could not read variable nand1.y in file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.csv. Warning: Get data of variable nand1.y from file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.329114879999906]