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.001866/0.001866, allocations: 114.5 kB / 18.94 MB, free: 2.934 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.003181/0.003181, allocations: 216.8 kB / 22.25 MB, free: 5.082 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.457/1.457, allocations: 230.6 MB / 256 MB, free: 8.016 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.794/2.794, allocations: 476.7 MB / 0.7707 GB, free: 4.293 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.002084/0.002084, allocations: 68.42 kB / 1.117 GB, free: 8.98 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3297/0.3318, allocations: 169.9 MB / 1.283 GB, free: 3.816 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Switch): time 0.002039/0.3338, allocations: 0.8289 MB / 1.284 GB, free: 2.988 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001674/0.3355, allocations: 1.32 MB / 1.285 GB, free: 1.656 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.142e-05/0.3356, allocations: 0 / 1.285 GB, free: 1.656 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.979e-05/0.3356, allocations: 11.81 kB / 1.286 GB, free: 1.645 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.395e-05/0.3357, allocations: 27.73 kB / 1.286 GB, free: 1.617 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008912/0.3366, allocations: 326 kB / 1.286 GB, free: 1.309 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003611/0.3369, allocations: 299.4 kB / 1.286 GB, free: 1.016 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.3371, allocations: 29.62 kB / 1.286 GB, free: 0.9844 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001507/0.3372, allocations: 115.8 kB / 1.286 GB, free: 0.8711 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002026/0.3374, allocations: 111.7 kB / 1.286 GB, free: 0.7617 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.005e-05/0.3375, allocations: 24 kB / 1.286 GB, free: 0.7383 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001242/0.3376, allocations: 43.92 kB / 1.286 GB, free: 0.6953 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.269e-05/0.3376, allocations: 27.86 kB / 1.286 GB, free: 0.668 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001589/0.3378, allocations: 103.7 kB / 1.287 GB, free: 0.5664 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003632/0.3382, allocations: 267.4 kB / 1.287 GB, free: 312 kB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 8.937e-06/0.3382, allocations: 7.984 kB / 1.287 GB, free: 304 kB / 0.9825 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3382, allocations: 0 / 1.287 GB, free: 304 kB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.3382, allocations: 0 / 1.287 GB, free: 304 kB / 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.0007278/0.3389, allocations: 458.8 kB / 1.287 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.339, allocations: 12.03 kB / 1.287 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.965e-05/0.339, allocations: 42.73 kB / 1.287 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.129e-05/0.3391, allocations: 24.84 kB / 1.287 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/0.3392, allocations: 127 kB / 1.287 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.427e-05/0.3392, allocations: 23.88 kB / 1.287 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.579e-05/0.3393, allocations: 20 kB / 1.288 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001971/0.3395, allocations: 89.59 kB / 1.288 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.3395, allocations: 0 / 1.288 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.3395, allocations: 4 kB / 1.288 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.3395, allocations: 4 kB / 1.288 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001094/0.3396, allocations: 43.97 kB / 1.288 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007631/0.3404, allocations: 463.3 kB / 1.288 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002305/0.3406, allocations: 74.61 kB / 1.288 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.684e-05/0.3407, allocations: 32.78 kB / 1.288 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.153e-05/0.3407, allocations: 0 / 1.288 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002562/0.341, allocations: 115.4 kB / 1.288 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=14): time 1.313e-06/0.341, allocations: 0 / 1.288 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of matching and sorting (n=14): time 0.0003778/0.3413, allocations: 173.5 kB / 1.288 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.365e-05/0.3414, allocations: 59.41 kB / 1.289 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001641/0.3416, allocations: 158.9 kB / 1.289 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.272e-05/0.3416, allocations: 33.7 kB / 1.289 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.3417, allocations: 116 kB / 1.289 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.8e-05/0.3417, allocations: 19.86 kB / 1.289 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001273/0.3419, allocations: 77.66 kB / 1.289 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.342, allocations: 326.8 kB / 1.289 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002099/0.3422, allocations: 95.95 kB / 1.289 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002437/0.3425, allocations: 148.6 kB / 1.289 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003244/0.3428, allocations: 253.5 kB / 1.29 GB, free: 13.1 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.3428, allocations: 0 / 1.29 GB, free: 13.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006499/0.3434, allocations: 410.4 kB / 1.29 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 8.411e-05/0.3435, allocations: 97.09 kB / 1.29 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.3435, allocations: 4.188 kB / 1.29 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.3435, allocations: 4 kB / 1.29 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.36e-05/0.3436, allocations: 23.86 kB / 1.29 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.3436, allocations: 7.938 kB / 1.29 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000506/0.3441, allocations: 79.8 kB / 1.29 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.692e-05/0.3442, allocations: 27.98 kB / 1.29 GB, free: 12.42 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 0.000135/0.3443, allocations: 130.3 kB / 1.29 GB, free: 12.28 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.652e-05/0.3443, allocations: 19.83 kB / 1.29 GB, free: 12.26 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.435e-05/0.3444, allocations: 20.72 kB / 1.29 GB, free: 12.24 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.3444, allocations: 4 kB / 1.29 GB, free: 12.24 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.3444, allocations: 0 / 1.29 GB, free: 12.24 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.3444, allocations: 0 / 1.29 GB, free: 12.24 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001989/0.3446, allocations: 188.7 kB / 1.291 GB, free: 12.01 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.3446, allocations: 7.938 kB / 1.291 GB, free: 12 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.336e-05/0.3446, allocations: 12 kB / 1.291 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.3446, allocations: 0 / 1.291 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.3447, allocations: 4 kB / 1.291 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3447, allocations: 0 / 1.291 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3447, allocations: 4 kB / 1.291 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002511/0.3449, allocations: 166.6 kB / 1.291 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.795e-05/0.3449, allocations: 19.83 kB / 1.291 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.091e-05/0.345, allocations: 0 / 1.291 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.193e-05/0.345, allocations: 8 kB / 1.291 GB, free: 11.78 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.019e-05/0.345, allocations: 7.984 kB / 1.291 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.096e-05/0.3451, allocations: 11.98 kB / 1.291 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 9.404e-05/0.3451, allocations: 115.9 kB / 1.291 GB, free: 11.65 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3451, allocations: 0 / 1.291 GB, free: 11.65 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002802/0.3454, allocations: 55.92 kB / 1.291 GB, free: 11.59 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.0006979/0.3461, allocations: 0.7138 MB / 1.292 GB, free: 10.85 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006549/0.3468, allocations: 342.8 kB / 1.292 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3468, allocations: 0 / 1.292 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.644e-05/0.3469, allocations: 43.92 kB / 1.292 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002954/0.3472, allocations: 30.77 kB / 1.292 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003133/0.3503, allocations: 2.254 MB / 1.294 GB, free: 8.02 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003878/0.3507, allocations: 0.7045 MB / 1.295 GB, free: 7.289 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 5.998e-05/0.3507, allocations: 20.59 kB / 1.295 GB, free: 7.27 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.118e-05/0.3508, allocations: 39.42 kB / 1.295 GB, free: 7.23 MB / 0.9981 GB Notification: Performance of SimCode: time 3e-07/0.3508, allocations: 0 / 1.295 GB, free: 7.23 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03206/0.3829, allocations: 4.384 MB / 1.299 GB, free: 3.004 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.31, allocations: 7.266 kB / 1.299 GB, free: 3.004 MB / 0.9981 GB " [Timeout remaining time 289] (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: 17.93925381900044]