Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.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.001466/0.001466, allocations: 109 kB / 17.54 MB, free: 4.746 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.001474/0.001474, allocations: 185.9 kB / 20.71 MB, free: 1.586 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.311/1.311, allocations: 225.6 MB / 249.3 MB, free: 3.176 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.565/2.565, allocations: 476.7 MB / 0.7628 GB, free: 15.2 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.Integers.Validation.Switch,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Switch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Switch,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Switch",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 71.89 kB / 1.107 GB, free: 5.203 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7608/0.7628, allocations: 168.7 MB / 1.271 GB, free: 7.727 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Switch): time 0.001684/0.7645, allocations: 0.84 MB / 1.272 GB, free: 7.223 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001299/0.7658, allocations: 1.29 MB / 1.273 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.871e-05/0.7658, allocations: 1.562 kB / 1.273 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.514e-05/0.7658, allocations: 14.12 kB / 1.273 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.122e-05/0.7659, allocations: 25.81 kB / 1.274 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007232/0.7667, allocations: 324.1 kB / 1.274 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002902/0.7669, allocations: 291.7 kB / 1.274 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.852e-05/0.767, allocations: 50.73 kB / 1.274 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001166/0.7672, allocations: 112.7 kB / 1.274 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001556/0.7673, allocations: 109.8 kB / 1.274 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.464e-05/0.7674, allocations: 26.31 kB / 1.274 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.475e-05/0.7674, allocations: 37.31 kB / 1.274 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.457e-05/0.7675, allocations: 26.42 kB / 1.274 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 9.939e-05/0.7676, allocations: 104.4 kB / 1.275 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002554/0.7678, allocations: 269.6 kB / 1.275 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.7678, allocations: 0 / 1.275 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.623e-06/0.7678, allocations: 0 / 1.275 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.127e-06/0.7678, allocations: 0.9062 kB / 1.275 GB, free: 5.684 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0004861/0.7683, allocations: 0.5259 MB / 1.275 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.7684, allocations: 9.062 kB / 1.275 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.964e-05/0.7684, allocations: 41.14 kB / 1.275 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.845e-05/0.7685, allocations: 18.27 kB / 1.275 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.072e-05/0.7685, allocations: 185.6 kB / 1.276 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.809e-05/0.7686, allocations: 23.5 kB / 1.276 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.32e-05/0.7686, allocations: 20 kB / 1.276 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.7687, allocations: 87.56 kB / 1.276 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.7687, allocations: 0.8438 kB / 1.276 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.7688, allocations: 4.781 kB / 1.276 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.7688, allocations: 2.094 kB / 1.276 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.686e-05/0.7689, allocations: 48.69 kB / 1.276 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005019/0.7694, allocations: 497.2 kB / 1.276 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001905/0.7696, allocations: 73.14 kB / 1.276 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.769e-05/0.7696, allocations: 34.61 kB / 1.276 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.082e-05/0.7696, allocations: 1.031 kB / 1.276 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001586/0.7698, allocations: 111.3 kB / 1.276 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=14): time 1.343e-06/0.7698, allocations: 0 / 1.276 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of matching and sorting (n=14): time 0.0003148/0.7701, allocations: 179.2 kB / 1.277 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.709e-05/0.7701, allocations: 53.72 kB / 1.277 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.397e-05/0.7702, allocations: 166.9 kB / 1.277 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.144e-05/0.7702, allocations: 36.28 kB / 1.277 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.023e-05/0.7703, allocations: 108.2 kB / 1.277 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.025e-05/0.7703, allocations: 39.16 kB / 1.277 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001178/0.7704, allocations: 75.88 kB / 1.277 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.989e-05/0.7705, allocations: 325.7 kB / 1.277 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001927/0.7707, allocations: 91.69 kB / 1.277 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002012/0.7709, allocations: 147.9 kB / 1.278 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002396/0.7711, allocations: 253.9 kB / 1.278 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.7711, allocations: 0.9062 kB / 1.278 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005614/0.7717, allocations: 406.8 kB / 1.278 GB, free: 3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.38e-05/0.7717, allocations: 102 kB / 1.278 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.7717, allocations: 2.344 kB / 1.278 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.7717, allocations: 1.844 kB / 1.278 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.993e-05/0.7718, allocations: 15.22 kB / 1.278 GB, free: 2.895 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.7718, allocations: 3.094 kB / 1.278 GB, free: 2.895 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004479/0.7722, allocations: 88.5 kB / 1.278 GB, free: 2.879 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.023e-05/0.7723, allocations: 18.88 kB / 1.278 GB, free: 2.879 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booToInt1.y,booToInt.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,integerSwitch.y,integerSwitch.u3,integerSwitch.u1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 14 * 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 8.203e-05/0.7724, allocations: 132.9 kB / 1.279 GB, free: 2.754 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.865e-05/0.7724, allocations: 26.27 kB / 1.279 GB, free: 2.734 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.732e-05/0.7724, allocations: 16.64 kB / 1.279 GB, free: 2.719 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.7724, allocations: 1.781 kB / 1.279 GB, free: 2.719 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.7724, allocations: 4.906 kB / 1.279 GB, free: 2.715 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.7724, allocations: 0.6562 kB / 1.279 GB, free: 2.715 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001175/0.7725, allocations: 217.2 kB / 1.279 GB, free: 2.504 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.7725, allocations: 3.938 kB / 1.279 GB, free: 2.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.097e-05/0.7726, allocations: 8.062 kB / 1.279 GB, free: 2.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.7726, allocations: 0.9375 kB / 1.279 GB, free: 2.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.7726, allocations: 5.75 kB / 1.279 GB, free: 2.496 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.7726, allocations: 6.078 kB / 1.279 GB, free: 2.492 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.02e-07/0.7726, allocations: 0 / 1.279 GB, free: 2.492 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001835/0.7728, allocations: 168.8 kB / 1.279 GB, free: 2.383 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.346e-05/0.7728, allocations: 93.61 kB / 1.279 GB, free: 2.277 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.658e-05/0.7728, allocations: 1.781 kB / 1.279 GB, free: 2.277 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.21e-05/0.7728, allocations: 12.69 kB / 1.279 GB, free: 2.27 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.291e-05/0.7729, allocations: 5.938 kB / 1.279 GB, free: 2.27 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.507e-06/0.7729, allocations: 9.328 kB / 1.279 GB, free: 2.266 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.293e-05/0.7729, allocations: 117.1 kB / 1.279 GB, free: 2.18 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.7729, allocations: 0.875 kB / 1.279 GB, free: 2.18 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002492/0.7732, allocations: 51.7 kB / 1.279 GB, free: 2.172 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: 14 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,integerSwitch.u1,integerSwitch.u3,integerSwitch.y,booPul1.y,booPul2.y,booPul3.y,booToInt.y,booToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * 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.0003458/0.7735, allocations: 0.7007 MB / 1.28 GB, free: 1.543 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000387/0.7739, allocations: 349.9 kB / 1.28 GB, free: 1.289 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.7739, allocations: 1.031 kB / 1.28 GB, free: 1.289 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 6.945e-05/0.774, allocations: 46.09 kB / 1.28 GB, free: 1.273 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002354/0.7742, allocations: 34.23 kB / 1.28 GB, free: 1.262 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002297/0.7765, allocations: 2.257 MB / 1.283 GB, free: 15.57 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002772/0.7768, allocations: 0.7095 MB / 1.283 GB, free: 14.87 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.89e-05/0.7768, allocations: 9.094 kB / 1.283 GB, free: 14.87 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.194e-05/0.7769, allocations: 38.55 kB / 1.283 GB, free: 14.84 MB / 1.014 GB Notification: Performance of SimCode: time 4.21e-07/0.7769, allocations: 3.938 kB / 1.283 GB, free: 14.84 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02433/0.8012, allocations: 4.227 MB / 1.287 GB, free: 14.27 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.032/7.834, allocations: 6.516 kB / 1.287 GB, free: 14.26 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Integers.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_Integers_Validation_Switch.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Switch_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Switch.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable integerSwitch.u1 in file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Switch_res.csv. Warning: Get data of variable integerSwitch.u1 from file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Switch_res.csv failed! Error: Could not read variable integerSwitch.u2 in file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Switch_res.csv. Warning: Get data of variable integerSwitch.u2 from file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Switch_res.csv failed! Error: Could not read variable integerSwitch.u3 in file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Switch_res.csv. Warning: Get data of variable integerSwitch.u3 from file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Switch_res.csv failed! Error: Could not read variable integerSwitch.y in file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Switch_res.csv. Warning: Get data of variable integerSwitch.y from file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Switch_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.264851318999717]