Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.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.002224/0.002224, allocations: 113 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.002352/0.002352, allocations: 207 kB / 22.25 MB, free: 5.086 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.57/1.57, allocations: 230.6 MB / 256 MB, free: 8.047 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.313/3.313, allocations: 0.505 GB / 0.8101 GB, free: 22.05 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.Not,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Not",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Not,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Not",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.002091/0.002091, allocations: 66.55 kB / 1.177 GB, free: 17.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3852/0.3873, allocations: 180.2 MB / 1.353 GB, free: 8.508 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.001985/0.3893, allocations: 0.6155 MB / 1.353 GB, free: 7.895 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001958/0.3913, allocations: 1.148 MB / 1.355 GB, free: 6.734 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.825e-05/0.3913, allocations: 0 / 1.355 GB, free: 6.734 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.19e-05/0.3914, allocations: 0 / 1.355 GB, free: 6.734 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.898e-05/0.3914, allocations: 3.938 kB / 1.355 GB, free: 6.73 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005242/0.392, allocations: 126.1 kB / 1.355 GB, free: 6.609 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002182/0.3922, allocations: 95.81 kB / 1.355 GB, free: 6.516 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 8.613e-05/0.3923, allocations: 3.984 kB / 1.355 GB, free: 6.512 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 7.303e-05/0.3923, allocations: 31.98 kB / 1.355 GB, free: 6.48 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001122/0.3924, allocations: 31.89 kB / 1.355 GB, free: 6.449 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.112e-05/0.3925, allocations: 8 kB / 1.355 GB, free: 6.441 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 7.923e-05/0.3925, allocations: 27.92 kB / 1.355 GB, free: 6.414 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.912e-05/0.3926, allocations: 3.984 kB / 1.355 GB, free: 6.41 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6.315e-05/0.3926, allocations: 31.92 kB / 1.355 GB, free: 6.379 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001888/0.3928, allocations: 88.02 kB / 1.355 GB, free: 6.293 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3928, allocations: 0 / 1.355 GB, free: 6.293 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.854e-06/0.3928, allocations: 0 / 1.355 GB, free: 6.293 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.3928, allocations: 0 / 1.355 GB, free: 6.293 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005485/0.3934, allocations: 296 kB / 1.355 GB, free: 5.965 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.3934, allocations: 8.031 kB / 1.355 GB, free: 5.957 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.22e-05/0.3935, allocations: 38.73 kB / 1.355 GB, free: 5.91 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.504e-05/0.3935, allocations: 4.938 kB / 1.355 GB, free: 5.906 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001412/0.3936, allocations: 110.5 kB / 1.355 GB, free: 5.773 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.3937, allocations: 384 / 1.355 GB, free: 5.773 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.317e-05/0.3937, allocations: 12.38 kB / 1.355 GB, free: 5.762 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000113/0.3938, allocations: 42.19 kB / 1.356 GB, free: 5.715 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.3938, allocations: 3.938 kB / 1.356 GB, free: 5.711 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.3938, allocations: 0 / 1.356 GB, free: 5.711 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.3938, allocations: 3.938 kB / 1.356 GB, free: 5.707 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.338e-05/0.3939, allocations: 15.98 kB / 1.356 GB, free: 5.691 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004458/0.3943, allocations: 251.9 kB / 1.356 GB, free: 5.402 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 5.001e-05/0.3944, allocations: 30.52 kB / 1.356 GB, free: 5.363 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.596e-05/0.3944, allocations: 4.859 kB / 1.356 GB, free: 5.355 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 5.44e-06/0.3944, allocations: 0 / 1.356 GB, free: 5.355 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00017/0.3946, allocations: 67.44 kB / 1.356 GB, free: 5.277 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.3946, allocations: 0 / 1.356 GB, free: 5.277 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0001926/0.3947, allocations: 61.64 kB / 1.356 GB, free: 5.211 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.111e-05/0.3948, allocations: 59.34 kB / 1.356 GB, free: 5.141 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.648e-05/0.3949, allocations: 105.8 kB / 1.356 GB, free: 5.027 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.767e-05/0.3949, allocations: 29.7 kB / 1.356 GB, free: 4.992 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001487/0.3951, allocations: 100 kB / 1.356 GB, free: 4.891 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.371e-05/0.3951, allocations: 3.953 kB / 1.356 GB, free: 4.887 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.889e-05/0.3952, allocations: 29.7 kB / 1.356 GB, free: 4.852 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002694/0.3954, allocations: 314.8 kB / 1.357 GB, free: 4.535 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.478e-05/0.3955, allocations: 31.98 kB / 1.357 GB, free: 4.504 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002016/0.3957, allocations: 50.55 kB / 1.357 GB, free: 4.445 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001095/0.3958, allocations: 80.22 kB / 1.357 GB, free: 4.352 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3958, allocations: 0 / 1.357 GB, free: 4.352 MB / 1.045 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002562/0.3961, allocations: 147.3 kB / 1.357 GB, free: 4.195 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.113e-05/0.3961, allocations: 33.7 kB / 1.357 GB, free: 4.156 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.3961, allocations: 0 / 1.357 GB, free: 4.156 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.3961, allocations: 4.094 kB / 1.357 GB, free: 4.152 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.607e-05/0.3961, allocations: 4 kB / 1.357 GB, free: 4.148 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.3961, allocations: 0 / 1.357 GB, free: 4.148 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001986/0.3963, allocations: 31.86 kB / 1.357 GB, free: 4.117 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.401e-05/0.3964, allocations: 11.98 kB / 1.357 GB, free: 4.105 MB / 1.045 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 0.0001199/0.3965, allocations: 121.7 kB / 1.357 GB, free: 3.977 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.386e-06/0.3965, allocations: 0 / 1.357 GB, free: 3.977 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.269e-05/0.3965, allocations: 7.688 kB / 1.357 GB, free: 3.969 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.3965, allocations: 4 kB / 1.357 GB, free: 3.965 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.3965, allocations: 0 / 1.357 GB, free: 3.965 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.3965, allocations: 4 kB / 1.357 GB, free: 3.961 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001324/0.3967, allocations: 132.7 kB / 1.357 GB, free: 3.789 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.3967, allocations: 0 / 1.357 GB, free: 3.789 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.474e-06/0.3967, allocations: 3.938 kB / 1.357 GB, free: 3.785 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.3967, allocations: 4 kB / 1.357 GB, free: 3.781 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.201e-06/0.3967, allocations: 0 / 1.357 GB, free: 3.781 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.3967, allocations: 0 / 1.357 GB, free: 3.781 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3967, allocations: 320 / 1.357 GB, free: 3.781 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001254/0.3968, allocations: 85.05 kB / 1.357 GB, free: 3.68 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 9.708e-06/0.3968, allocations: 11.89 kB / 1.357 GB, free: 3.668 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.632e-05/0.3968, allocations: 4 kB / 1.357 GB, free: 3.664 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.363e-05/0.3968, allocations: 0 / 1.357 GB, free: 3.664 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.767e-05/0.3969, allocations: 0 / 1.357 GB, free: 3.664 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.038e-06/0.3969, allocations: 4 kB / 1.357 GB, free: 3.66 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.032e-05/0.3969, allocations: 91.2 kB / 1.357 GB, free: 3.57 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3969, allocations: 0 / 1.357 GB, free: 3.57 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002238/0.3972, allocations: 16 kB / 1.357 GB, free: 3.555 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: 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.0005854/0.3977, allocations: 0.6165 MB / 1.358 GB, free: 2.906 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002337/0.398, allocations: 111.3 kB / 1.358 GB, free: 2.785 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.398, allocations: 0 / 1.358 GB, free: 2.785 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 3.397e-05/0.398, allocations: 16.19 kB / 1.358 GB, free: 2.77 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002201/0.3982, allocations: 13.86 kB / 1.358 GB, free: 2.758 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001602/0.3998, allocations: 1.361 MB / 1.359 GB, free: 1.293 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004149/0.4003, allocations: 0.6807 MB / 1.36 GB, free: 0.5859 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.161e-05/0.4003, allocations: 0 / 1.36 GB, free: 0.5859 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.537e-05/0.4003, allocations: 19.42 kB / 1.36 GB, free: 0.5703 MB / 1.045 GB Notification: Performance of SimCode: time 2.91e-07/0.4003, allocations: 0 / 1.36 GB, free: 0.5703 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03453/0.4348, allocations: 2.038 MB / 1.362 GB, free: 14.67 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.65/11.08, allocations: 7.547 kB / 1.362 GB, free: 14.66 MB / 1.061 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not_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_Not.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Not.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable not1.y in file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.csv. Warning: Get data of variable not1.y from file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.335522214999855]