Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.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.001408/0.001408, allocations: 105.7 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.001404/0.001404, 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.313/1.313, allocations: 225.6 MB / 249.3 MB, free: 3.215 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.362/2.362, allocations: 443.5 MB / 0.7304 GB, free: 13.96 MB / 0.5763 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Logical.Validation.Switch,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Switch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Switch,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Switch",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001894, allocations: 79.89 kB / 1.059 GB, free: 0.9336 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2582/0.2601, allocations: 160.7 MB / 1.216 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001826/0.2619, allocations: 0.714 MB / 1.216 GB, free: 15.19 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001538/0.2634, allocations: 1.273 MB / 1.218 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.359e-05/0.2635, allocations: 0 / 1.218 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.999e-05/0.2635, allocations: 7.875 kB / 1.218 GB, free: 13.9 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.666e-05/0.2636, allocations: 19.84 kB / 1.218 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008505/0.2645, allocations: 311 kB / 1.218 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003426/0.2648, allocations: 259.5 kB / 1.218 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.938e-05/0.2649, allocations: 12.17 kB / 1.218 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001533/0.265, allocations: 99.86 kB / 1.218 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001817/0.2652, allocations: 99.67 kB / 1.218 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.676e-05/0.2653, allocations: 24 kB / 1.218 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.219e-05/0.2653, allocations: 31.98 kB / 1.218 GB, free: 13.06 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.276e-05/0.2654, allocations: 15.98 kB / 1.218 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001027/0.2655, allocations: 87.73 kB / 1.218 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002616/0.2657, allocations: 219.6 kB / 1.219 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.2657, allocations: 0 / 1.219 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2657, allocations: 4 kB / 1.219 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.2657, allocations: 0 / 1.219 GB, free: 12.74 MB / 0.9669 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.0005794/0.2663, allocations: 492.2 kB / 1.219 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.2664, allocations: 8.031 kB / 1.219 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.911e-05/0.2664, allocations: 46.67 kB / 1.219 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.959e-05/0.2665, allocations: 12.89 kB / 1.219 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000121/0.2666, allocations: 180.3 kB / 1.219 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.409e-05/0.2666, allocations: 8.375 kB / 1.219 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.194e-05/0.2666, allocations: 16.36 kB / 1.219 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/0.2668, allocations: 61.98 kB / 1.219 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.2668, allocations: 0 / 1.219 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.2668, allocations: 0 / 1.219 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.2668, allocations: 0 / 1.219 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.982e-05/0.2668, allocations: 31.86 kB / 1.219 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005212/0.2674, allocations: 412.5 kB / 1.22 GB, free: 11.33 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 6.989e-05/0.2674, allocations: 34.56 kB / 1.22 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.275e-05/0.2675, allocations: 16.86 kB / 1.22 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 9.047e-06/0.2675, allocations: 0 / 1.22 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001579/0.2676, allocations: 111.3 kB / 1.22 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=10): time 1.263e-06/0.2676, allocations: 0 / 1.22 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10): time 0.0002795/0.2679, allocations: 141.8 kB / 1.22 GB, free: 11 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/0.268, allocations: 51.5 kB / 1.22 GB, free: 10.94 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.2681, allocations: 143.2 kB / 1.22 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.14e-05/0.2681, allocations: 37.69 kB / 1.22 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.934e-05/0.2682, allocations: 96.2 kB / 1.22 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.241e-05/0.2682, allocations: 19.86 kB / 1.22 GB, free: 10.63 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001153/0.2683, allocations: 65.67 kB / 1.221 GB, free: 10.56 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.2685, allocations: 326.8 kB / 1.221 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001901/0.2686, allocations: 91.94 kB / 1.221 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002092/0.2689, allocations: 137.9 kB / 1.221 GB, free: 9.988 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002711/0.2691, allocations: 234.8 kB / 1.221 GB, free: 9.723 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.2691, allocations: 4 kB / 1.221 GB, free: 9.719 MB / 0.9669 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005752/0.2697, allocations: 374.5 kB / 1.222 GB, free: 9.328 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 7.393e-05/0.2698, allocations: 105 kB / 1.222 GB, free: 9.207 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.2698, allocations: 4.188 kB / 1.222 GB, free: 9.203 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.2698, allocations: 4 kB / 1.222 GB, free: 9.199 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.078e-05/0.2698, allocations: 8 kB / 1.222 GB, free: 9.191 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.2698, allocations: 4 kB / 1.222 GB, free: 9.188 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004392/0.2703, allocations: 75.8 kB / 1.222 GB, free: 9.113 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.87e-05/0.2703, allocations: 23.98 kB / 1.222 GB, free: 9.09 MB / 0.9669 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.0001176/0.2704, allocations: 139.5 kB / 1.222 GB, free: 8.945 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.649e-05/0.2704, allocations: 7.953 kB / 1.222 GB, free: 8.938 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.616e-05/0.2705, allocations: 8.375 kB / 1.222 GB, free: 8.926 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.2705, allocations: 4 kB / 1.222 GB, free: 8.922 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.2705, allocations: 0 / 1.222 GB, free: 8.922 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.2705, allocations: 0 / 1.222 GB, free: 8.922 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001503/0.2706, allocations: 189.6 kB / 1.222 GB, free: 8.688 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.2706, allocations: 0 / 1.222 GB, free: 8.688 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.029e-05/0.2706, allocations: 8 kB / 1.222 GB, free: 8.68 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.2706, allocations: 7.938 kB / 1.222 GB, free: 8.672 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.2706, allocations: 3.984 kB / 1.222 GB, free: 8.668 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.2706, allocations: 0 / 1.222 GB, free: 8.668 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.2707, allocations: 3.984 kB / 1.222 GB, free: 8.664 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001795/0.2708, allocations: 136.9 kB / 1.222 GB, free: 8.512 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.607e-05/0.2709, allocations: 89 kB / 1.222 GB, free: 8.406 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.803e-05/0.2709, allocations: 7.984 kB / 1.222 GB, free: 8.398 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.192e-05/0.2709, allocations: 4.094 kB / 1.222 GB, free: 8.395 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.42e-05/0.271, allocations: 11.92 kB / 1.222 GB, free: 8.383 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.602e-05/0.271, allocations: 12 kB / 1.222 GB, free: 8.371 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.565e-05/0.271, allocations: 97.09 kB / 1.223 GB, free: 8.277 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.271, allocations: 0 / 1.223 GB, free: 8.277 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000246/0.2713, allocations: 47.95 kB / 1.223 GB, free: 8.23 MB / 0.9669 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.0004802/0.2717, allocations: 0.6842 MB / 1.223 GB, free: 7.52 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004382/0.2722, allocations: 326.1 kB / 1.224 GB, free: 7.164 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.2722, allocations: 0 / 1.224 GB, free: 7.164 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 6.153e-05/0.2723, allocations: 39.91 kB / 1.224 GB, free: 7.125 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000232/0.2725, allocations: 24.34 kB / 1.224 GB, free: 7.102 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002341/0.2748, allocations: 2.063 MB / 1.226 GB, free: 4.898 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002696/0.2751, allocations: 0.6924 MB / 1.226 GB, free: 4.18 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.993e-05/0.2751, allocations: 12.36 kB / 1.226 GB, free: 4.168 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.408e-05/0.2752, allocations: 27.42 kB / 1.226 GB, free: 4.141 MB / 0.9669 GB Notification: Performance of SimCode: time 3.61e-07/0.2752, allocations: 4 kB / 1.226 GB, free: 4.137 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02521/0.3004, allocations: 3.813 MB / 1.23 GB, free: 444 kB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.003/7.303, allocations: 18.8 kB / 1.23 GB, free: 432 kB / 0.9669 GB " [Timeout remaining time 293] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Controls_OBC_CDL_Logical_Validation_Switch.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Switch_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Switch.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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_10_Buildings.Controls.OBC.CDL.Logical.Validation.Switch_res.csv. Warning: Get data of variable logicalSwitch.u1 from file Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Switch_res.csv failed! Error: Could not read variable logicalSwitch.u2 in file Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Switch_res.csv. Warning: Get data of variable logicalSwitch.u2 from file Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Switch_res.csv failed! Error: Could not read variable logicalSwitch.u3 in file Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Switch_res.csv. Warning: Get data of variable logicalSwitch.u3 from file Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Switch_res.csv failed! Error: Could not read variable logicalSwitch.y in file Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Switch_res.csv. Warning: Get data of variable logicalSwitch.y from file Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Switch_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.553600837003614]