Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 109 kB / 17.54 MB, free: 4.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001437/0.001437, allocations: 189.9 kB / 20.71 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.3/1.3, allocations: 225.6 MB / 249.3 MB, free: 3.223 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.509/2.509, allocations: 476.7 MB / 0.7628 GB, free: 15.15 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Or",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Or",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 67.89 kB / 1.107 GB, free: 5.195 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7862/0.7881, allocations: 168.7 MB / 1.271 GB, free: 7.727 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.001584/0.7897, allocations: 0.6665 MB / 1.272 GB, free: 7.344 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001131/0.7909, allocations: 1.197 MB / 1.273 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.135e-05/0.7909, allocations: 0 / 1.273 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.579e-05/0.7909, allocations: 5.188 kB / 1.273 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.751e-05/0.791, allocations: 11.67 kB / 1.273 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005407/0.7915, allocations: 219.2 kB / 1.273 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002097/0.7917, allocations: 174.8 kB / 1.274 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.566e-05/0.7918, allocations: 9.703 kB / 1.274 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.76e-05/0.7919, allocations: 63.28 kB / 1.274 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001177/0.792, allocations: 66.16 kB / 1.274 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.119e-05/0.7921, allocations: 15.41 kB / 1.274 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.929e-05/0.7921, allocations: 23.36 kB / 1.274 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.799e-05/0.7921, allocations: 19.48 kB / 1.274 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 6.502e-05/0.7922, allocations: 55.38 kB / 1.274 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001657/0.7924, allocations: 151.1 kB / 1.274 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.7924, allocations: 0 / 1.274 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.212e-06/0.7924, allocations: 3.938 kB / 1.274 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.7924, allocations: 0 / 1.274 GB, free: 6.141 MB / 0.9981 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.0003884/0.7928, allocations: 436.2 kB / 1.274 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.7928, allocations: 9.969 kB / 1.274 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.823e-05/0.7928, allocations: 39.58 kB / 1.274 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.807e-05/0.7929, allocations: 11.83 kB / 1.274 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.871e-05/0.7929, allocations: 177.4 kB / 1.275 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.793, allocations: 9.312 kB / 1.275 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.827e-05/0.793, allocations: 9.719 kB / 1.275 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.075e-05/0.7931, allocations: 50.02 kB / 1.275 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.7931, allocations: 3.938 kB / 1.275 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.175e-06/0.7931, allocations: 0.9375 kB / 1.275 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.7931, allocations: 1.062 kB / 1.275 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.304e-05/0.7931, allocations: 16.58 kB / 1.275 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00036/0.7935, allocations: 361 kB / 1.275 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.242e-05/0.7936, allocations: 27.36 kB / 1.275 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.422e-05/0.7936, allocations: 17.09 kB / 1.275 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.889e-06/0.7936, allocations: 0.7188 kB / 1.275 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000126/0.7937, allocations: 85.62 kB / 1.275 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.233e-06/0.7937, allocations: 0 / 1.275 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0002121/0.7939, allocations: 103 kB / 1.275 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.667e-05/0.794, allocations: 52.97 kB / 1.275 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.59e-05/0.794, allocations: 121.2 kB / 1.275 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.367e-05/0.7941, allocations: 28.77 kB / 1.275 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.176e-05/0.7941, allocations: 98.72 kB / 1.276 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.26e-05/0.7941, allocations: 19.02 kB / 1.276 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.191e-05/0.7942, allocations: 45.41 kB / 1.276 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.207e-05/0.7942, allocations: 322.4 kB / 1.276 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001284/0.7944, allocations: 60.27 kB / 1.276 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001278/0.7945, allocations: 97.73 kB / 1.276 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001513/0.7946, allocations: 160.9 kB / 1.276 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.7946, allocations: 3.938 kB / 1.276 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000378/0.795, allocations: 262.6 kB / 1.276 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.652e-05/0.7951, allocations: 72.44 kB / 1.277 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.7951, allocations: 1.781 kB / 1.277 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.7951, allocations: 1.688 kB / 1.277 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.737e-05/0.7951, allocations: 9.844 kB / 1.277 GB, free: 3.812 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.7951, allocations: 1.844 kB / 1.277 GB, free: 3.812 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003155/0.7954, allocations: 57.06 kB / 1.277 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.116e-05/0.7955, allocations: 15.05 kB / 1.277 GB, free: 3.801 MB / 0.9981 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,or1.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 6.519e-05/0.7955, allocations: 128.4 kB / 1.277 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.247e-05/0.7955, allocations: 6.859 kB / 1.277 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.97e-05/0.7955, allocations: 9.344 kB / 1.277 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.7956, allocations: 4.906 kB / 1.277 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.7956, allocations: 1.156 kB / 1.277 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.7956, allocations: 0 / 1.277 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.849e-05/0.7956, allocations: 174.9 kB / 1.277 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.7956, allocations: 0 / 1.277 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.246e-06/0.7956, allocations: 2.328 kB / 1.277 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.7956, allocations: 9.031 kB / 1.277 GB, free: 3.453 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.7957, allocations: 3.391 kB / 1.277 GB, free: 3.453 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.7957, allocations: 1.312 kB / 1.277 GB, free: 3.453 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.7957, allocations: 0 / 1.277 GB, free: 3.453 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000117/0.7958, allocations: 118.5 kB / 1.277 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.683e-05/0.7958, allocations: 79.39 kB / 1.277 GB, free: 3.266 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.354e-05/0.7958, allocations: 4.109 kB / 1.277 GB, free: 3.266 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.924e-05/0.7958, allocations: 4.75 kB / 1.277 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.789e-05/0.7958, allocations: 5.125 kB / 1.277 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.7959, allocations: 2.812 kB / 1.277 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.102e-05/0.7959, allocations: 94.52 kB / 1.277 GB, free: 3.18 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.7959, allocations: 0 / 1.277 GB, free: 3.18 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002235/0.7961, allocations: 38.89 kB / 1.277 GB, free: 3.168 MB / 0.9981 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,or1.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.0002965/0.7964, allocations: 0.6539 MB / 1.278 GB, free: 2.551 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002864/0.7967, allocations: 219.4 kB / 1.278 GB, free: 2.387 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.7967, allocations: 0.7812 kB / 1.278 GB, free: 2.387 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 4.107e-05/0.7967, allocations: 27.14 kB / 1.278 GB, free: 2.375 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002202/0.797, allocations: 19.62 kB / 1.278 GB, free: 2.367 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001586/0.7985, allocations: 1.718 MB / 1.28 GB, free: 16.94 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002726/0.7988, allocations: 0.6882 MB / 1.281 GB, free: 16.24 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.394e-05/0.7988, allocations: 8.109 kB / 1.281 GB, free: 16.24 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.007e-05/0.7989, allocations: 20.72 kB / 1.281 GB, free: 16.22 MB / 1.014 GB Notification: Performance of SimCode: time 6.21e-07/0.7989, allocations: 0 / 1.281 GB, free: 16.22 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02783/0.8267, allocations: 2.885 MB / 1.283 GB, free: 15.74 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.993/7.82, allocations: 7.578 kB / 1.283 GB, free: 15.74 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Or.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable or1.u1 in file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.csv. Warning: Get data of variable or1.u1 from file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.csv failed! Error: Could not read variable or1.u2 in file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.csv. Warning: Get data of variable or1.u2 from file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.csv failed! Error: Could not read variable or1.y in file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.csv. Warning: Get data of variable or1.y from file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.21065392500168]