Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.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.001905/0.001905, allocations: 105 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.002348/0.002348, 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.494/1.494, allocations: 230.6 MB / 252.8 MB, free: 9.113 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.812/2.812, allocations: 476.7 MB / 0.7672 GB, free: 5.227 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.Switch,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Switch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Switch,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Switch",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.002053/0.002053, allocations: 59.91 kB / 1.112 GB, free: 1.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8594/0.8615, allocations: 169.9 MB / 1.278 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001947/0.8634, allocations: 0.7113 MB / 1.279 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001751/0.8651, allocations: 1.297 MB / 1.28 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.528e-05/0.8652, allocations: 0 / 1.28 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.444e-05/0.8652, allocations: 7.875 kB / 1.28 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.676e-05/0.8653, allocations: 23.86 kB / 1.28 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008736/0.8662, allocations: 312.1 kB / 1.281 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003144/0.8665, allocations: 251.7 kB / 1.281 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.8666, allocations: 12.17 kB / 1.281 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001424/0.8667, allocations: 111.7 kB / 1.281 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001704/0.8669, allocations: 87.8 kB / 1.281 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.679e-05/0.867, allocations: 24 kB / 1.281 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.832e-05/0.8671, allocations: 35.98 kB / 1.281 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.224e-05/0.8671, allocations: 19.91 kB / 1.281 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001221/0.8672, allocations: 87.73 kB / 1.281 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002856/0.8675, allocations: 217.5 kB / 1.281 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.8675, allocations: 0 / 1.281 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.703e-06/0.8675, allocations: 0 / 1.281 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.305e-06/0.8675, allocations: 0 / 1.281 GB, free: 10.38 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.0006559/0.8682, allocations: 0.4885 MB / 1.282 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.8682, allocations: 12.03 kB / 1.282 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.966e-05/0.8682, allocations: 34.69 kB / 1.282 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.321e-05/0.8683, allocations: 24.81 kB / 1.282 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001659/0.8685, allocations: 172.3 kB / 1.282 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.829e-05/0.8685, allocations: 12.38 kB / 1.282 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.241e-05/0.8686, allocations: 12.38 kB / 1.282 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001341/0.8687, allocations: 61.98 kB / 1.282 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.8687, allocations: 0 / 1.282 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.8687, allocations: 3.984 kB / 1.282 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.8687, allocations: 4 kB / 1.282 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.471e-05/0.8688, allocations: 16 kB / 1.282 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000584/0.8694, allocations: 420.5 kB / 1.283 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.329e-05/0.8694, allocations: 30.56 kB / 1.283 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.831e-05/0.8695, allocations: 20.86 kB / 1.283 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.438e-06/0.8695, allocations: 0 / 1.283 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001834/0.8697, allocations: 107.3 kB / 1.283 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.253e-06/0.8697, allocations: 0 / 1.283 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0003211/0.87, allocations: 137.5 kB / 1.283 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.923e-05/0.87, allocations: 55.41 kB / 1.283 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/0.8702, allocations: 133.8 kB / 1.283 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.296e-05/0.8702, allocations: 33.7 kB / 1.283 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.891e-05/0.8703, allocations: 100.1 kB / 1.283 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.243e-05/0.8703, allocations: 19.97 kB / 1.283 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001352/0.8704, allocations: 73.61 kB / 1.283 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001645/0.8706, allocations: 322.8 kB / 1.284 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002182/0.8708, allocations: 91.95 kB / 1.284 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002347/0.8711, allocations: 133.8 kB / 1.284 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003093/0.8714, allocations: 241.4 kB / 1.284 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.8714, allocations: 0 / 1.284 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006478/0.872, allocations: 378.5 kB / 1.284 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 8.936e-05/0.8721, allocations: 105.5 kB / 1.284 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.8721, allocations: 4 kB / 1.284 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.8721, allocations: 3.938 kB / 1.284 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.456e-05/0.8722, allocations: 4 kB / 1.284 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.8722, allocations: 7.938 kB / 1.285 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005088/0.8727, allocations: 87.98 kB / 1.285 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.225e-05/0.8727, allocations: 15.98 kB / 1.285 GB, free: 6.719 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,logicalSwitch.y,booPul3.y,$PRE.booPul3.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 (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.0001322/0.8728, allocations: 139.9 kB / 1.285 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.708e-05/0.8729, allocations: 7.953 kB / 1.285 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.974e-05/0.8729, allocations: 8.375 kB / 1.285 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.8729, allocations: 4 kB / 1.285 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.8729, allocations: 4 kB / 1.285 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.8729, allocations: 0 / 1.285 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001778/0.8731, allocations: 193.5 kB / 1.285 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.8731, allocations: 0 / 1.285 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.186e-05/0.8731, allocations: 4 kB / 1.285 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.8731, allocations: 0 / 1.285 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.8731, allocations: 0 / 1.285 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.8731, allocations: 4 kB / 1.285 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.8731, allocations: 0 / 1.285 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002044/0.8733, allocations: 152.9 kB / 1.285 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.094e-05/0.8734, allocations: 85.06 kB / 1.285 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.605e-05/0.8734, allocations: 0 / 1.285 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.504e-05/0.8734, allocations: 3.984 kB / 1.285 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.939e-05/0.8734, allocations: 8 kB / 1.285 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.8735, allocations: 7.984 kB / 1.285 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.362e-05/0.8735, allocations: 101.8 kB / 1.285 GB, free: 5.914 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.8735, allocations: 0 / 1.285 GB, free: 5.914 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002697/0.8738, allocations: 40 kB / 1.285 GB, free: 5.875 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: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,booPul3.y,logicalSwitch.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0005971/0.8744, allocations: 0.6967 MB / 1.286 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004945/0.8749, allocations: 326 kB / 1.286 GB, free: 4.797 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.8749, allocations: 384 / 1.286 GB, free: 4.797 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 6.679e-05/0.875, allocations: 35.92 kB / 1.286 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002666/0.8752, allocations: 15.98 kB / 1.286 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002707/0.8779, allocations: 2.079 MB / 1.288 GB, free: 2.523 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003271/0.8783, allocations: 0.7007 MB / 1.289 GB, free: 1.797 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.657e-05/0.8783, allocations: 4.438 kB / 1.289 GB, free: 1.793 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.891e-05/0.8783, allocations: 27.42 kB / 1.289 GB, free: 1.766 MB / 0.9825 GB Notification: Performance of SimCode: time 4.81e-07/0.8783, allocations: 0 / 1.289 GB, free: 1.766 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02868/0.907, allocations: 3.843 MB / 1.293 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.078/8.986, allocations: 10.41 kB / 1.293 GB, free: 14.03 MB / 0.9981 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Switch_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_Switch.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Switch_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Switch.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable logicalSwitch.u1 in file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Switch_res.csv. Warning: Get data of variable logicalSwitch.u1 from file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Switch_res.csv failed! Error: Could not read variable logicalSwitch.u2 in file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Switch_res.csv. Warning: Get data of variable logicalSwitch.u2 from file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Switch_res.csv failed! Error: Could not read variable logicalSwitch.u3 in file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Switch_res.csv. Warning: Get data of variable logicalSwitch.u3 from file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Switch_res.csv failed! Error: Could not read variable logicalSwitch.y in file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Switch_res.csv. Warning: Get data of variable logicalSwitch.y from file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Switch_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.342237886972725]