Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.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.001357/0.001357, allocations: 104 kB / 16.45 MB, free: 6.449 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.001404/0.001404, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.488/1.488, allocations: 230.6 MB / 252.8 MB, free: 9.125 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.772/2.772, allocations: 476.7 MB / 0.7672 GB, free: 5.234 MB / 0.6231 GB " [Timeout remaining time 177] 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.Edge,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Edge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Edge",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.002131/0.002131, allocations: 67.91 kB / 1.112 GB, free: 1.535 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8431/0.8452, allocations: 169.9 MB / 1.278 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.002357/0.8476, allocations: 0.7476 MB / 1.279 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001905/0.8495, allocations: 1.188 MB / 1.28 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.295e-05/0.8496, allocations: 0 / 1.28 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.456e-05/0.8496, allocations: 3.938 kB / 1.28 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.079e-05/0.8497, allocations: 11.88 kB / 1.28 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005881/0.8503, allocations: 131 kB / 1.28 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000204/0.8505, allocations: 119.8 kB / 1.28 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.8506, allocations: 11.98 kB / 1.28 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001047/0.8507, allocations: 47.89 kB / 1.28 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.8508, allocations: 43.83 kB / 1.281 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.914e-05/0.8508, allocations: 12 kB / 1.281 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.4e-05/0.8509, allocations: 31.92 kB / 1.281 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.43e-05/0.8509, allocations: 7.984 kB / 1.281 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.739e-05/0.851, allocations: 51.83 kB / 1.281 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002048/0.8512, allocations: 109.5 kB / 1.281 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.8512, allocations: 0 / 1.281 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.252e-06/0.8512, allocations: 0 / 1.281 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.377e-06/0.8512, allocations: 4 kB / 1.281 GB, free: 10.96 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007045/0.8519, allocations: 412.9 kB / 1.281 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.852, allocations: 12.03 kB / 1.281 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.245e-05/0.852, allocations: 34.73 kB / 1.281 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.011e-05/0.8521, allocations: 8.891 kB / 1.281 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001507/0.8522, allocations: 180.2 kB / 1.281 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.469e-05/0.8522, allocations: 12.36 kB / 1.281 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.427e-05/0.8523, allocations: 12.38 kB / 1.281 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002228/0.8525, allocations: 74.14 kB / 1.281 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.8525, allocations: 3.938 kB / 1.281 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.8525, allocations: 0 / 1.281 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.165e-05/0.8525, allocations: 4 kB / 1.281 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001936/0.8527, allocations: 35.95 kB / 1.281 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006105/0.8533, allocations: 336.7 kB / 1.282 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002132/0.8536, allocations: 58.48 kB / 1.282 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001249/0.8537, allocations: 29.03 kB / 1.282 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.504e-05/0.8537, allocations: 0 / 1.282 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002522/0.8539, allocations: 87.36 kB / 1.282 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.463e-06/0.8539, allocations: 4 kB / 1.282 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0004845/0.8544, allocations: 145.6 kB / 1.282 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.316e-05/0.8545, allocations: 55.41 kB / 1.282 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.8546, allocations: 121.8 kB / 1.282 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.153e-05/0.8546, allocations: 29.7 kB / 1.282 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.352e-05/0.8547, allocations: 96.12 kB / 1.282 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.1e-05/0.8547, allocations: 11.91 kB / 1.282 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.82e-05/0.8548, allocations: 37.7 kB / 1.282 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.8549, allocations: 326.8 kB / 1.283 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001699/0.8551, allocations: 51.95 kB / 1.283 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001882/0.8553, allocations: 84.27 kB / 1.283 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003222/0.8556, allocations: 142.2 kB / 1.283 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.8556, allocations: 3.938 kB / 1.283 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004751/0.8561, allocations: 215.2 kB / 1.283 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.525e-05/0.8561, allocations: 37.7 kB / 1.283 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.8561, allocations: 3.938 kB / 1.283 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.8562, allocations: 4 kB / 1.283 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.507e-05/0.8562, allocations: 15.92 kB / 1.283 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.8563, allocations: 0 / 1.283 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002094/0.8565, allocations: 40.03 kB / 1.283 GB, free: 8 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.285e-05/0.8565, allocations: 8 kB / 1.283 GB, free: 7.992 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,edge1.y,edge1.u,$PRE.edge1.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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.0001224/0.8566, allocations: 129.7 kB / 1.283 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.981e-05/0.8566, allocations: 11.94 kB / 1.283 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.217e-05/0.8567, allocations: 8.375 kB / 1.283 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.8567, allocations: 0 / 1.283 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.83e-06/0.8567, allocations: 0 / 1.283 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.8567, allocations: 4 kB / 1.283 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005302/0.8572, allocations: 378.4 kB / 1.284 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.8572, allocations: 0 / 1.284 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.67e-05/0.8573, allocations: 11.92 kB / 1.284 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.8573, allocations: 0 / 1.284 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.8573, allocations: 4 kB / 1.284 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.8573, allocations: 0 / 1.284 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.8573, allocations: 8.062 kB / 1.284 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003303/0.8576, allocations: 211.3 kB / 1.284 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.142e-05/0.8577, allocations: 85.06 kB / 1.284 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.84e-05/0.8577, allocations: 0 / 1.284 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.859e-05/0.8578, allocations: 7.984 kB / 1.284 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.801e-05/0.8578, allocations: 15.92 kB / 1.284 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.8578, allocations: 4 kB / 1.284 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.355e-05/0.8579, allocations: 95.27 kB / 1.284 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.8579, allocations: 0 / 1.284 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002708/0.8582, allocations: 20 kB / 1.284 GB, free: 6.91 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: 7 (edge1.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.0006996/0.8589, allocations: 0.748 MB / 1.285 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004198/0.8593, allocations: 167.2 kB / 1.285 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.8593, allocations: 0 / 1.285 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001235/0.8594, allocations: 31.97 kB / 1.285 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002844/0.8597, allocations: 28.11 kB / 1.285 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002206/0.8619, allocations: 1.685 MB / 1.287 GB, free: 4.102 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003053/0.8622, allocations: 0.6924 MB / 1.288 GB, free: 3.383 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.446e-05/0.8622, allocations: 4 kB / 1.288 GB, free: 3.379 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.975e-05/0.8623, allocations: 23.42 kB / 1.288 GB, free: 3.355 MB / 0.9825 GB Notification: Performance of SimCode: time 2.8e-07/0.8623, allocations: 0 / 1.288 GB, free: 3.355 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02473/0.887, allocations: 2.562 MB / 1.29 GB, free: 0.8945 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.11/8.997, allocations: 16.08 kB / 1.29 GB, free: 0.8828 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_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_Edge.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Edge.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable edge1.u in file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.csv. Warning: Get data of variable edge1.u from file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.csv failed! Error: Could not read variable edge1.y in file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.csv. Warning: Get data of variable edge1.y from file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.csv failed! Error: Could not read variable triggeredSampler.u in file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.csv. Warning: Get data of variable triggeredSampler.u from file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.075555238872766]