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.001428/0.001428, allocations: 114.3 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.001718/0.001718, allocations: 214.6 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.448/1.448, allocations: 230.6 MB / 256 MB, free: 8.039 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.859/2.859, allocations: 476.7 MB / 0.7707 GB, free: 4.332 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.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.002064/0.002064, allocations: 67.98 kB / 1.117 GB, free: 8.996 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3715/0.3735, allocations: 169.9 MB / 1.283 GB, free: 3.793 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.002258/0.3758, allocations: 0.7113 MB / 1.284 GB, free: 3.086 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001788/0.3776, allocations: 1.308 MB / 1.285 GB, free: 1.766 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.108e-05/0.3776, allocations: 0 / 1.285 GB, free: 1.766 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.237e-05/0.3777, allocations: 3.938 kB / 1.285 GB, free: 1.762 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.86e-05/0.3778, allocations: 23.73 kB / 1.285 GB, free: 1.738 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008994/0.3787, allocations: 305 kB / 1.286 GB, free: 1.449 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003448/0.379, allocations: 263.6 kB / 1.286 GB, free: 1.191 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.3791, allocations: 8.188 kB / 1.286 GB, free: 1.18 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001437/0.3793, allocations: 99.86 kB / 1.286 GB, free: 1.082 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001904/0.3795, allocations: 95.69 kB / 1.286 GB, free: 0.9883 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.712e-05/0.3795, allocations: 27.94 kB / 1.286 GB, free: 0.9609 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.357e-05/0.3796, allocations: 35.98 kB / 1.286 GB, free: 0.9258 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.817e-05/0.3796, allocations: 15.92 kB / 1.286 GB, free: 0.9102 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001295/0.3798, allocations: 83.8 kB / 1.286 GB, free: 0.8281 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003078/0.3801, allocations: 223.6 kB / 1.286 GB, free: 0.6094 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.3801, allocations: 0 / 1.286 GB, free: 0.6094 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3801, allocations: 4 kB / 1.286 GB, free: 0.6055 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.236e-05/0.3801, allocations: 0 / 1.286 GB, free: 0.6055 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.000644/0.3807, allocations: 419.2 kB / 1.287 GB, free: 152 kB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.3808, allocations: 12.03 kB / 1.287 GB, free: 140 kB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.014e-05/0.3808, allocations: 34.73 kB / 1.287 GB, free: 96 kB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.062e-05/0.3809, allocations: 20.89 kB / 1.287 GB, free: 76 kB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/0.3811, allocations: 118.4 kB / 1.287 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.239e-05/0.3811, allocations: 12.38 kB / 1.287 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.343e-05/0.3811, allocations: 16.36 kB / 1.287 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001395/0.3813, allocations: 61.98 kB / 1.287 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.3813, allocations: 0 / 1.287 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.525e-06/0.3813, allocations: 0 / 1.287 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.3813, allocations: 4 kB / 1.287 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.37e-05/0.3813, allocations: 19.98 kB / 1.287 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005814/0.3819, allocations: 391.5 kB / 1.288 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.435e-05/0.382, allocations: 30.56 kB / 1.288 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.602e-05/0.382, allocations: 16.86 kB / 1.288 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.858e-06/0.382, allocations: 4 kB / 1.288 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002485/0.3823, allocations: 99.44 kB / 1.288 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=10): time 1.252e-06/0.3823, allocations: 0 / 1.288 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10): time 0.0003204/0.3826, allocations: 145.5 kB / 1.288 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.05e-05/0.3827, allocations: 55.41 kB / 1.288 GB, free: 15 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.3828, allocations: 133.3 kB / 1.288 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.122e-05/0.3828, allocations: 33.7 kB / 1.288 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.227e-05/0.3829, allocations: 104.1 kB / 1.288 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.189e-05/0.3829, allocations: 15.91 kB / 1.288 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001218/0.3831, allocations: 69.61 kB / 1.288 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.3832, allocations: 326.8 kB / 1.289 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001887/0.3834, allocations: 83.95 kB / 1.289 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002324/0.3836, allocations: 147.3 kB / 1.289 GB, free: 14.06 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003078/0.3839, allocations: 247.3 kB / 1.289 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.384, allocations: 0 / 1.289 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000629/0.3846, allocations: 379.9 kB / 1.289 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 8.74e-05/0.3847, allocations: 101.1 kB / 1.289 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.3847, allocations: 3.984 kB / 1.289 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.3847, allocations: 4 kB / 1.289 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.702e-05/0.3847, allocations: 7.938 kB / 1.289 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.3847, allocations: 0 / 1.289 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004817/0.3852, allocations: 87.98 kB / 1.29 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.001e-05/0.3852, allocations: 15.98 kB / 1.29 GB, free: 13.15 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: 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.0001447/0.3854, allocations: 136.8 kB / 1.29 GB, free: 13.01 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.827e-05/0.3854, allocations: 11.95 kB / 1.29 GB, free: 13 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.018e-05/0.3854, allocations: 12.38 kB / 1.29 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.3854, allocations: 0 / 1.29 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.3854, allocations: 0 / 1.29 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.3855, allocations: 3.938 kB / 1.29 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001737/0.3856, allocations: 168.6 kB / 1.29 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.3856, allocations: 0 / 1.29 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.929e-06/0.3856, allocations: 0 / 1.29 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.3856, allocations: 0 / 1.29 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.3857, allocations: 12 kB / 1.29 GB, free: 12.76 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.3857, allocations: 0 / 1.29 GB, free: 12.76 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.3857, allocations: 4 kB / 1.29 GB, free: 12.76 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002152/0.3859, allocations: 144.9 kB / 1.29 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.558e-05/0.3859, allocations: 7.891 kB / 1.29 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.225e-05/0.3859, allocations: 8 kB / 1.29 GB, free: 12.58 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.08e-05/0.3859, allocations: 3.984 kB / 1.29 GB, free: 12.58 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.705e-05/0.386, allocations: 7.984 kB / 1.29 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.386, allocations: 8 kB / 1.29 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.629e-05/0.3861, allocations: 99.27 kB / 1.29 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3861, allocations: 96 / 1.29 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002679/0.3864, allocations: 43.94 kB / 1.29 GB, free: 12.42 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: 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.0005933/0.3869, allocations: 0.6774 MB / 1.291 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000481/0.3874, allocations: 326.1 kB / 1.291 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.3874, allocations: 0 / 1.291 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 6.197e-05/0.3875, allocations: 39.86 kB / 1.291 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002788/0.3878, allocations: 23.97 kB / 1.291 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002676/0.3904, allocations: 2.071 MB / 1.293 GB, free: 9.086 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003436/0.3908, allocations: 0.6924 MB / 1.294 GB, free: 8.367 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.612e-05/0.3908, allocations: 4.438 kB / 1.294 GB, free: 8.363 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.307e-05/0.3909, allocations: 31.7 kB / 1.294 GB, free: 8.332 MB / 0.9981 GB Notification: Performance of SimCode: time 5.51e-07/0.3909, allocations: 0 / 1.294 GB, free: 8.332 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03167/0.4225, allocations: 3.986 MB / 1.298 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.66/11.08, allocations: 1.406 kB / 1.298 GB, free: 4.508 MB / 0.9981 GB " [Timeout remaining time 289] (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: 17.848369867000656]