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.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.001667/0.001667, allocations: 103.6 kB / 18.95 MB, free: 2.812 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.002006/0.002006, allocations: 213.6 kB / 22.25 MB, free: 5.105 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.499/1.499, allocations: 230.6 MB / 256 MB, free: 7.801 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.782/2.782, allocations: 476 MB / 0.7699 GB, free: 4.703 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.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: 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.002129/0.002129, allocations: 66.48 kB / 1.117 GB, free: 41.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3355/0.3376, allocations: 170 MB / 1.283 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Switch): time 0.002363/0.34, allocations: 0.8023 MB / 1.283 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001964/0.3419, allocations: 1.301 MB / 1.285 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.302e-05/0.342, allocations: 4 kB / 1.285 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.587e-05/0.342, allocations: 7.875 kB / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001127/0.3422, allocations: 27.78 kB / 1.285 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000939/0.3431, allocations: 316.4 kB / 1.285 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005191/0.3436, allocations: 291.5 kB / 1.285 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.3437, allocations: 31.3 kB / 1.285 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002142/0.344, allocations: 131.7 kB / 1.285 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002032/0.3442, allocations: 95.67 kB / 1.285 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.814e-05/0.3442, allocations: 24 kB / 1.286 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001069/0.3443, allocations: 39.92 kB / 1.286 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.482e-05/0.3444, allocations: 23.92 kB / 1.286 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001306/0.3445, allocations: 99.67 kB / 1.286 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003634/0.3449, allocations: 254.8 kB / 1.286 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.3449, allocations: 4 kB / 1.286 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.392e-06/0.3449, allocations: 0 / 1.286 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.034e-06/0.3449, allocations: 7.875 kB / 1.286 GB, free: 8.941 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0007184/0.3456, allocations: 466.8 kB / 1.286 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.3456, allocations: 8.031 kB / 1.286 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.515e-05/0.3457, allocations: 38.75 kB / 1.286 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.622e-05/0.3458, allocations: 24.83 kB / 1.286 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/0.3459, allocations: 123 kB / 1.287 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.78e-05/0.346, allocations: 15.94 kB / 1.287 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.742e-05/0.346, allocations: 20 kB / 1.287 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000204/0.3462, allocations: 95.47 kB / 1.287 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.3462, allocations: 0 / 1.287 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.81e-05/0.3462, allocations: 8 kB / 1.287 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.3462, allocations: 0 / 1.287 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001123/0.3464, allocations: 51.94 kB / 1.287 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007573/0.3471, allocations: 415.5 kB / 1.287 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002593/0.3474, allocations: 62.62 kB / 1.287 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.774e-05/0.3474, allocations: 28.91 kB / 1.287 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.175e-06/0.3474, allocations: 0 / 1.287 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002522/0.3477, allocations: 119.3 kB / 1.287 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=14): time 1.924e-06/0.3477, allocations: 0 / 1.287 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14): time 0.0003912/0.3481, allocations: 173.7 kB / 1.288 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.04e-05/0.3482, allocations: 63.41 kB / 1.288 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001709/0.3483, allocations: 165 kB / 1.288 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.572e-05/0.3484, allocations: 37.7 kB / 1.288 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.261e-05/0.3485, allocations: 108 kB / 1.288 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.31e-05/0.3485, allocations: 35.72 kB / 1.288 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001352/0.3486, allocations: 73.67 kB / 1.288 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.3488, allocations: 326.8 kB / 1.288 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002943/0.3491, allocations: 185 kB / 1.288 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003103/0.3494, allocations: 231 kB / 1.289 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000347/0.3497, allocations: 261.1 kB / 1.289 GB, free: 5.578 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.3497, allocations: 0 / 1.289 GB, free: 5.578 MB / 0.9825 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007389/0.3505, allocations: 0.4916 MB / 1.289 GB, free: 5.043 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 7.982e-05/0.3506, allocations: 97.09 kB / 1.289 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.3506, allocations: 0 / 1.289 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.3506, allocations: 8.188 kB / 1.29 GB, free: 4.922 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.612e-05/0.3506, allocations: 8 kB / 1.29 GB, free: 4.914 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.927e-05/0.3507, allocations: 15.86 kB / 1.29 GB, free: 4.898 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004604/0.3511, allocations: 83.8 kB / 1.29 GB, free: 4.816 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-05/0.3512, allocations: 15.98 kB / 1.29 GB, free: 4.801 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: 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 0.0001479/0.3513, allocations: 137.8 kB / 1.29 GB, free: 4.656 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.738e-05/0.3513, allocations: 15.84 kB / 1.29 GB, free: 4.641 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.881e-05/0.3514, allocations: 16.77 kB / 1.29 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.3514, allocations: 0 / 1.29 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.3514, allocations: 0 / 1.29 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.3514, allocations: 4 kB / 1.29 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002022/0.3516, allocations: 176.6 kB / 1.29 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.3516, allocations: 3.938 kB / 1.29 GB, free: 4.402 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.07e-05/0.3516, allocations: 15.92 kB / 1.29 GB, free: 4.387 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.3516, allocations: 4 kB / 1.29 GB, free: 4.383 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.3517, allocations: 8 kB / 1.29 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.057e-06/0.3517, allocations: 4 kB / 1.29 GB, free: 4.371 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3517, allocations: 0 / 1.29 GB, free: 4.371 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002699/0.3519, allocations: 172.9 kB / 1.29 GB, free: 4.184 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.759e-05/0.352, allocations: 15.84 kB / 1.29 GB, free: 4.168 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.115e-05/0.352, allocations: 0 / 1.29 GB, free: 4.168 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.055e-05/0.352, allocations: 11.98 kB / 1.29 GB, free: 4.156 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.167e-05/0.3521, allocations: 7.984 kB / 1.29 GB, free: 4.148 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.3521, allocations: 8 kB / 1.29 GB, free: 4.141 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001029/0.3522, allocations: 118.7 kB / 1.29 GB, free: 4.027 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3522, allocations: 0 / 1.29 GB, free: 4.027 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003061/0.3525, allocations: 52 kB / 1.29 GB, free: 3.977 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: 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.0007387/0.3532, allocations: 0.7143 MB / 1.291 GB, free: 3.234 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0006421/0.3539, allocations: 431.1 kB / 1.291 GB, free: 2.758 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3539, allocations: 0 / 1.291 GB, free: 2.758 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.079e-05/0.354, allocations: 43.92 kB / 1.292 GB, free: 2.715 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003155/0.3543, allocations: 40.59 kB / 1.292 GB, free: 2.676 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003544/0.3578, allocations: 2.616 MB / 1.294 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.529e-05/0.3579, allocations: 98.7 kB / 1.294 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.817e-05/0.358, allocations: 16.61 kB / 1.294 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.839e-05/0.358, allocations: 39.42 kB / 1.294 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of SimCode: time 6.51e-07/0.358, allocations: 0 / 1.294 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03459/0.3926, allocations: 5.089 MB / 1.299 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.83, allocations: 4.25 kB / 1.299 GB, free: 10.78 MB / 0.9981 GB " [Timeout remaining time 288] (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: 18.58389550819993]