Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001943/0.001943, allocations: 106.7 kB / 16.45 MB, free: 6.02 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.002344/0.002344, allocations: 205.7 kB / 19.42 MB, free: 3.516 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.564/1.564, allocations: 230.6 MB / 252.8 MB, free: 8.938 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.336/3.336, allocations: 0.49 GB / 0.7916 GB, free: 33.37 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.Not,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Not",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Not,fileNamePrefix="Buildings_12_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.002146/0.002146, allocations: 75.47 kB / 1.149 GB, free: 26.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3865/0.3886, allocations: 176.1 MB / 1.321 GB, free: 3.48 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.00207/0.3907, allocations: 0.6089 MB / 1.321 GB, free: 2.875 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001538/0.3922, allocations: 1.144 MB / 1.323 GB, free: 1.719 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.963e-05/0.3923, allocations: 4 kB / 1.323 GB, free: 1.715 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.525e-05/0.3923, allocations: 3.938 kB / 1.323 GB, free: 1.711 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.009e-05/0.3924, allocations: 3.938 kB / 1.323 GB, free: 1.707 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00049/0.3929, allocations: 114.8 kB / 1.323 GB, free: 1.598 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000175/0.3931, allocations: 95.75 kB / 1.323 GB, free: 1.504 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 8.844e-05/0.3932, allocations: 7.984 kB / 1.323 GB, free: 1.496 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.607e-05/0.3932, allocations: 27.98 kB / 1.323 GB, free: 1.469 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 9.973e-05/0.3933, allocations: 35.88 kB / 1.323 GB, free: 1.434 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.002e-05/0.3933, allocations: 12 kB / 1.323 GB, free: 1.422 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 7.641e-05/0.3934, allocations: 27.98 kB / 1.323 GB, free: 1.395 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.602e-05/0.3934, allocations: 0 / 1.323 GB, free: 1.395 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.241e-05/0.3935, allocations: 27.92 kB / 1.323 GB, free: 1.367 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001687/0.3937, allocations: 88 kB / 1.323 GB, free: 1.281 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3937, allocations: 0 / 1.323 GB, free: 1.281 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3937, allocations: 0 / 1.323 GB, free: 1.281 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.563e-06/0.3937, allocations: 0 / 1.323 GB, free: 1.281 MB / 1.014 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.0005021/0.3942, allocations: 377.1 kB / 1.323 GB, free: 0.8555 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.3942, allocations: 11.98 kB / 1.323 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.225e-05/0.3943, allocations: 38.69 kB / 1.323 GB, free: 0.7969 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.022e-05/0.3943, allocations: 4.938 kB / 1.323 GB, free: 0.793 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001436/0.3944, allocations: 168.3 kB / 1.324 GB, free: 0.5898 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.3945, allocations: 4.375 kB / 1.324 GB, free: 0.5859 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.527e-05/0.3945, allocations: 8.312 kB / 1.324 GB, free: 0.5781 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.46e-05/0.3946, allocations: 42.25 kB / 1.324 GB, free: 0.5312 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.3946, allocations: 3.938 kB / 1.324 GB, free: 0.5273 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.647e-06/0.3946, allocations: 0 / 1.324 GB, free: 0.5273 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.3946, allocations: 0 / 1.324 GB, free: 0.5273 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.566e-05/0.3946, allocations: 8 kB / 1.324 GB, free: 0.5195 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000413/0.395, allocations: 300.8 kB / 1.324 GB, free: 180 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 4.521e-05/0.3951, allocations: 14.58 kB / 1.324 GB, free: 156 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.733e-05/0.3951, allocations: 8.922 kB / 1.324 GB, free: 144 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 5.941e-06/0.3951, allocations: 0 / 1.324 GB, free: 144 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001189/0.3952, allocations: 67.33 kB / 1.324 GB, free: 64 kB / 1.014 GB Notification: Performance of pre-optimization done (n=3): time 1.353e-06/0.3952, allocations: 4 kB / 1.324 GB, free: 60 kB / 1.014 GB Notification: Performance of matching and sorting (n=3): time 0.0001982/0.3954, allocations: 61.62 kB / 1.324 GB, free: 15.99 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.268e-05/0.3955, allocations: 51.41 kB / 1.324 GB, free: 15.93 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.547e-05/0.3956, allocations: 109.8 kB / 1.324 GB, free: 15.81 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.503e-05/0.3956, allocations: 25.7 kB / 1.324 GB, free: 15.78 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.156e-05/0.3957, allocations: 92.12 kB / 1.324 GB, free: 15.69 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.416e-05/0.3957, allocations: 7.938 kB / 1.324 GB, free: 15.68 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.259e-05/0.3957, allocations: 29.7 kB / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.3959, allocations: 326.8 kB / 1.325 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.267e-05/0.3959, allocations: 23.98 kB / 1.325 GB, free: 15.29 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.674e-05/0.396, allocations: 50.56 kB / 1.325 GB, free: 15.23 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001148/0.3962, allocations: 80.2 kB / 1.325 GB, free: 15.14 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3962, allocations: 0 / 1.325 GB, free: 15.14 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002481/0.3964, allocations: 147.5 kB / 1.325 GB, free: 14.98 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.174e-05/0.3964, allocations: 37.69 kB / 1.325 GB, free: 14.94 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.3965, allocations: 0 / 1.325 GB, free: 14.94 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.3965, allocations: 0 / 1.325 GB, free: 14.94 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.879e-05/0.3965, allocations: 3.984 kB / 1.325 GB, free: 14.94 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.3965, allocations: 7.938 kB / 1.325 GB, free: 14.93 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002071/0.3967, allocations: 31.91 kB / 1.325 GB, free: 14.9 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.053e-05/0.3967, allocations: 7.984 kB / 1.325 GB, free: 14.89 MB / 1.029 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 9.979e-05/0.3968, allocations: 119.4 kB / 1.325 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.526e-05/0.3968, allocations: 7.953 kB / 1.325 GB, free: 14.76 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.462e-05/0.3969, allocations: 7.5 kB / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.3969, allocations: 0 / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.3969, allocations: 0 / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.3969, allocations: 0 / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001471/0.397, allocations: 165.6 kB / 1.325 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.397, allocations: 0 / 1.325 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.28e-06/0.397, allocations: 0 / 1.325 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.626e-06/0.397, allocations: 4 kB / 1.325 GB, free: 14.53 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.397, allocations: 3.938 kB / 1.325 GB, free: 14.53 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.397, allocations: 0 / 1.325 GB, free: 14.53 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.397, allocations: 0 / 1.325 GB, free: 14.53 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001224/0.3972, allocations: 88.98 kB / 1.325 GB, free: 14.42 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.88e-05/0.3972, allocations: 85 kB / 1.325 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.295e-05/0.3972, allocations: 320 / 1.325 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.673e-05/0.3972, allocations: 4 kB / 1.325 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.183e-05/0.3973, allocations: 8 kB / 1.325 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.3973, allocations: 0 / 1.325 GB, free: 14.31 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.977e-05/0.3973, allocations: 87.27 kB / 1.326 GB, free: 14.22 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3973, allocations: 0 / 1.326 GB, free: 14.22 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002111/0.3975, allocations: 16 kB / 1.326 GB, free: 14.21 MB / 1.029 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.0004851/0.398, allocations: 0.6202 MB / 1.326 GB, free: 13.55 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002264/0.3983, allocations: 103.3 kB / 1.326 GB, free: 13.44 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3983, allocations: 0 / 1.326 GB, free: 13.44 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.857e-05/0.3983, allocations: 12 kB / 1.326 GB, free: 13.43 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001996/0.3985, allocations: 7.984 kB / 1.326 GB, free: 13.42 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001518/0.4, allocations: 1.369 MB / 1.328 GB, free: 11.95 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003126/0.4003, allocations: 0.6807 MB / 1.328 GB, free: 11.25 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.862e-05/0.4003, allocations: 0 / 1.328 GB, free: 11.25 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.225e-05/0.4004, allocations: 11.44 kB / 1.328 GB, free: 11.23 MB / 1.029 GB Notification: Performance of SimCode: time 2.9e-07/0.4004, allocations: 0 / 1.328 GB, free: 11.23 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02566/0.426, allocations: 1.929 MB / 1.33 GB, free: 9.398 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.038/8.464, allocations: 4.062 kB / 1.33 GB, free: 9.395 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.csv --start-time 0 --stop-time 5 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Not.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Not.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.csv. Warning: Get data of variable not1.y from file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.745938345091417]