Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001863/0.001863, allocations: 103.2 kB / 16.45 MB, free: 6.5 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.002321/0.002321, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.545/1.545, allocations: 230.6 MB / 252.8 MB, free: 8.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.856/2.856, allocations: 476.7 MB / 0.7672 GB, free: 5.211 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Controls_OBC_CDL_Logical_Validation_Not",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Not,fileNamePrefix="Buildings_11_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.001972/0.001972, allocations: 71.89 kB / 1.112 GB, free: 1.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9329/0.9349, allocations: 169.9 MB / 1.278 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.002081/0.9369, allocations: 0.6118 MB / 1.279 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002021/0.939, allocations: 1.135 MB / 1.28 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.627e-05/0.939, allocations: 4 kB / 1.28 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.39e-05/0.939, allocations: 4 kB / 1.28 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.785e-05/0.9391, allocations: 11.91 kB / 1.28 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004901/0.9396, allocations: 123.6 kB / 1.28 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001632/0.9398, allocations: 83.83 kB / 1.28 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 7.667e-05/0.9398, allocations: 8 kB / 1.28 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.744e-05/0.9399, allocations: 39.89 kB / 1.28 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.175e-05/0.94, allocations: 27.91 kB / 1.28 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.272e-05/0.94, allocations: 8 kB / 1.28 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.931e-05/0.9401, allocations: 27.98 kB / 1.28 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.668e-05/0.9401, allocations: 3.984 kB / 1.28 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.758e-05/0.9402, allocations: 35.91 kB / 1.28 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001538/0.9403, allocations: 73.62 kB / 1.28 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.9403, allocations: 3.984 kB / 1.28 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.713e-06/0.9403, allocations: 4 kB / 1.28 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.496e-06/0.9403, allocations: 0 / 1.28 GB, free: 11.21 MB / 0.9825 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.0004821/0.9408, allocations: 373.1 kB / 1.281 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.9408, allocations: 12.03 kB / 1.281 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4e-05/0.9409, allocations: 34.75 kB / 1.281 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.984e-05/0.9409, allocations: 8.938 kB / 1.281 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001346/0.9411, allocations: 164.3 kB / 1.281 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.655e-05/0.9411, allocations: 12.31 kB / 1.281 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.167e-05/0.9411, allocations: 8.312 kB / 1.281 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.309e-05/0.9412, allocations: 35.92 kB / 1.281 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.9412, allocations: 3.938 kB / 1.281 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.9412, allocations: 8 kB / 1.281 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.85e-06/0.9412, allocations: 3.984 kB / 1.281 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.339e-05/0.9413, allocations: 4 kB / 1.281 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003977/0.9417, allocations: 292.8 kB / 1.281 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.307e-05/0.9417, allocations: 26.5 kB / 1.281 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.17e-05/0.9417, allocations: 12.92 kB / 1.281 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.993e-06/0.9417, allocations: 0 / 1.281 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001253/0.9419, allocations: 59.38 kB / 1.281 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.133e-06/0.9419, allocations: 4 kB / 1.281 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0001866/0.9421, allocations: 61.62 kB / 1.281 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.616e-05/0.9421, allocations: 55.41 kB / 1.282 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.127e-05/0.9422, allocations: 113.7 kB / 1.282 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.552e-05/0.9422, allocations: 25.7 kB / 1.282 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.615e-05/0.9423, allocations: 84.14 kB / 1.282 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.139e-05/0.9423, allocations: 7.953 kB / 1.282 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.375e-05/0.9424, allocations: 29.7 kB / 1.282 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.9425, allocations: 322.8 kB / 1.282 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.141e-05/0.9426, allocations: 27.98 kB / 1.282 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.634e-05/0.9427, allocations: 46.56 kB / 1.282 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001232/0.9428, allocations: 80.2 kB / 1.282 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.9428, allocations: 4 kB / 1.282 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002625/0.943, allocations: 147.3 kB / 1.282 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.167e-05/0.9431, allocations: 37.69 kB / 1.282 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.9431, allocations: 4 kB / 1.282 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.9431, allocations: 0 / 1.282 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.568e-05/0.9431, allocations: 0 / 1.282 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.9431, allocations: 3.984 kB / 1.282 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000202/0.9433, allocations: 27.97 kB / 1.282 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.876e-05/0.9434, allocations: 4 kB / 1.282 GB, free: 8.828 MB / 0.9825 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.396e-05/0.9435, allocations: 121.9 kB / 1.283 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.413e-05/0.9435, allocations: 7.938 kB / 1.283 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.25e-05/0.9435, allocations: 7.438 kB / 1.283 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.9435, allocations: 4.312 kB / 1.283 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.9435, allocations: 0 / 1.283 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.9435, allocations: 0 / 1.283 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000142/0.9436, allocations: 165.6 kB / 1.283 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.9437, allocations: 0 / 1.283 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.865e-06/0.9437, allocations: 4 kB / 1.283 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.9437, allocations: 7.922 kB / 1.283 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.741e-06/0.9437, allocations: 4 kB / 1.283 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.9437, allocations: 0 / 1.283 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.9437, allocations: 0 / 1.283 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001128/0.9438, allocations: 81.06 kB / 1.283 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.11e-05/0.9438, allocations: 77.11 kB / 1.283 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.224e-05/0.9438, allocations: 0 / 1.283 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.918e-05/0.9439, allocations: 11.92 kB / 1.283 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.645e-05/0.9439, allocations: 4 kB / 1.283 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.9439, allocations: 4 kB / 1.283 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.144e-05/0.9439, allocations: 83.22 kB / 1.283 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.9439, allocations: 0 / 1.283 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002898/0.9442, allocations: 23.94 kB / 1.283 GB, free: 8.129 MB / 0.9825 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.0004625/0.9447, allocations: 0.6171 MB / 1.284 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002062/0.9449, allocations: 111.4 kB / 1.284 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.9449, allocations: 0 / 1.284 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.121e-05/0.9449, allocations: 15.97 kB / 1.284 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001976/0.9451, allocations: 8 kB / 1.284 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001488/0.9466, allocations: 1.36 MB / 1.285 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003524/0.947, allocations: 0.6844 MB / 1.286 GB, free: 5.168 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.02e-05/0.947, allocations: 4 kB / 1.286 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.345e-05/0.947, allocations: 11.44 kB / 1.286 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of SimCode: time 3e-07/0.947, allocations: 0 / 1.286 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02574/0.9728, allocations: 1.935 MB / 1.288 GB, free: 3.32 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.04/9.013, allocations: 0.7031 kB / 1.288 GB, free: 3.32 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Not.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Controls_OBC_CDL_Logical_Validation_Not.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Not.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.csv. Warning: Get data of variable not1.y from file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.323789215879515]