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.001308/0.001308, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001579/0.001579, allocations: 212.2 kB / 22.24 MB, free: 5.262 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.527/1.527, allocations: 230.6 MB / 256 MB, free: 7.785 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.261/3.261, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 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.002973/0.002973, allocations: 73.05 kB / 1.186 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4196/0.4225, allocations: 181.8 MB / 1.363 GB, free: 14.09 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.002426/0.425, allocations: 0.6165 MB / 1.364 GB, free: 13.47 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001788/0.4267, allocations: 1.128 MB / 1.365 GB, free: 12.33 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.735e-05/0.4268, allocations: 0 / 1.365 GB, free: 12.33 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.142e-05/0.4268, allocations: 0 / 1.365 GB, free: 12.33 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.693e-05/0.4269, allocations: 3.938 kB / 1.365 GB, free: 12.33 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005254/0.4274, allocations: 129.1 kB / 1.365 GB, free: 12.21 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001822/0.4276, allocations: 91.88 kB / 1.365 GB, free: 12.12 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 8.827e-05/0.4277, allocations: 3.984 kB / 1.365 GB, free: 12.11 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.336e-05/0.4278, allocations: 31.98 kB / 1.365 GB, free: 12.08 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 9.955e-05/0.4279, allocations: 31.89 kB / 1.365 GB, free: 12.05 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.821e-05/0.4279, allocations: 8 kB / 1.365 GB, free: 12.04 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.406e-05/0.428, allocations: 23.86 kB / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.297e-05/0.428, allocations: 4 kB / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.801e-05/0.428, allocations: 31.91 kB / 1.365 GB, free: 11.98 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001647/0.4282, allocations: 80.02 kB / 1.366 GB, free: 11.91 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.4282, allocations: 8 kB / 1.366 GB, free: 11.9 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.793e-06/0.4282, allocations: 0 / 1.366 GB, free: 11.9 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.152e-05/0.4282, allocations: 0 / 1.366 GB, free: 11.9 MB / 1.061 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.0004796/0.4287, allocations: 292 kB / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.4287, allocations: 8.031 kB / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.239e-05/0.4288, allocations: 30.75 kB / 1.366 GB, free: 11.53 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.863e-05/0.4288, allocations: 8.891 kB / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001179/0.4289, allocations: 114.5 kB / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.4289, allocations: 4.375 kB / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.243e-05/0.429, allocations: 4.375 kB / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001206/0.4291, allocations: 42.19 kB / 1.366 GB, free: 11.33 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.4291, allocations: 11.94 kB / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/0.4291, allocations: 0 / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.4291, allocations: 4 kB / 1.366 GB, free: 11.31 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.5e-05/0.4292, allocations: 4 kB / 1.366 GB, free: 11.31 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004069/0.4296, allocations: 247.9 kB / 1.366 GB, free: 11.02 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 6.17e-05/0.4296, allocations: 26.52 kB / 1.366 GB, free: 10.99 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.733e-05/0.4296, allocations: 12.91 kB / 1.366 GB, free: 10.97 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 9.267e-06/0.4297, allocations: 0 / 1.366 GB, free: 10.97 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001767/0.4298, allocations: 63.34 kB / 1.366 GB, free: 10.9 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.4298, allocations: 4 kB / 1.366 GB, free: 10.89 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0002013/0.43, allocations: 61.62 kB / 1.366 GB, free: 10.83 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.835e-05/0.4301, allocations: 55.34 kB / 1.366 GB, free: 10.76 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.4302, allocations: 105.8 kB / 1.367 GB, free: 10.65 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.053e-05/0.4302, allocations: 29.7 kB / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.576e-05/0.4303, allocations: 84.14 kB / 1.367 GB, free: 10.53 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.612e-05/0.4303, allocations: 11.94 kB / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.992e-05/0.4304, allocations: 29.7 kB / 1.367 GB, free: 10.48 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001671/0.4306, allocations: 318.8 kB / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.804e-05/0.4306, allocations: 53.69 kB / 1.367 GB, free: 10.1 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001222/0.4308, allocations: 85.31 kB / 1.367 GB, free: 10 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001189/0.4309, allocations: 84.2 kB / 1.367 GB, free: 9.906 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.4309, allocations: 0 / 1.367 GB, free: 9.906 MB / 1.061 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002957/0.4312, allocations: 181 kB / 1.367 GB, free: 9.711 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.458e-05/0.4312, allocations: 35.09 kB / 1.367 GB, free: 9.672 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.4312, allocations: 0 / 1.367 GB, free: 9.672 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.4313, allocations: 4 kB / 1.367 GB, free: 9.668 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.699e-05/0.4313, allocations: 0 / 1.367 GB, free: 9.668 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.4313, allocations: 3.938 kB / 1.367 GB, free: 9.664 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001932/0.4315, allocations: 32 kB / 1.367 GB, free: 9.633 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.042e-05/0.4315, allocations: 11.98 kB / 1.367 GB, free: 9.621 MB / 1.061 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.0001025/0.4316, allocations: 117.8 kB / 1.368 GB, free: 9.496 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.707e-06/0.4316, allocations: 0 / 1.368 GB, free: 9.496 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.793e-05/0.4316, allocations: 3.688 kB / 1.368 GB, free: 9.484 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.4316, allocations: 4 kB / 1.368 GB, free: 9.48 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.4316, allocations: 0 / 1.368 GB, free: 9.48 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.4316, allocations: 0 / 1.368 GB, free: 9.48 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00013/0.4318, allocations: 132.7 kB / 1.368 GB, free: 9.309 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.4318, allocations: 8 kB / 1.368 GB, free: 9.301 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.097e-06/0.4318, allocations: 4.25 kB / 1.368 GB, free: 9.297 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.4318, allocations: 0 / 1.368 GB, free: 9.297 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.697e-06/0.4318, allocations: 3.984 kB / 1.368 GB, free: 9.293 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.4318, allocations: 4 kB / 1.368 GB, free: 9.289 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4318, allocations: 0 / 1.368 GB, free: 9.289 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001199/0.4319, allocations: 85.02 kB / 1.368 GB, free: 9.188 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.342e-06/0.4319, allocations: 3.938 kB / 1.368 GB, free: 9.184 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.581e-05/0.4319, allocations: 4 kB / 1.368 GB, free: 9.18 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.274e-05/0.432, allocations: 0 / 1.368 GB, free: 9.18 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.203e-05/0.432, allocations: 4.266 kB / 1.368 GB, free: 9.176 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.432, allocations: 8 kB / 1.368 GB, free: 9.168 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.859e-05/0.432, allocations: 83.28 kB / 1.368 GB, free: 9.086 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.4321, allocations: 0 / 1.368 GB, free: 9.086 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002018/0.4323, allocations: 12 kB / 1.368 GB, free: 9.074 MB / 1.061 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.0004644/0.4327, allocations: 0.6202 MB / 1.369 GB, free: 8.422 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002478/0.433, allocations: 145 kB / 1.369 GB, free: 8.262 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.433, allocations: 0 / 1.369 GB, free: 8.262 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.455e-05/0.433, allocations: 4 kB / 1.369 GB, free: 8.258 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001997/0.4332, allocations: 20.11 kB / 1.369 GB, free: 8.238 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001566/0.4348, allocations: 1.489 MB / 1.37 GB, free: 6.625 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.661e-05/0.4348, allocations: 63.34 kB / 1.37 GB, free: 6.543 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 1.794e-05/0.4348, allocations: 0 / 1.37 GB, free: 6.543 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.305e-05/0.4349, allocations: 15.42 kB / 1.37 GB, free: 6.527 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/0.4349, allocations: 0 / 1.37 GB, free: 6.527 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02951/0.4644, allocations: 2.549 MB / 1.373 GB, free: 4.133 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.81, allocations: 11.8 kB / 1.373 GB, free: 4.125 MB / 1.061 GB " [Timeout remaining time 288] (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.924647574312985]