Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.868/1.868, allocations: 306.1 MB / 321.4 MB, free: 10.76 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 179.3 kB / 393.1 MB, free: 4.086 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.757/1.757, allocations: 225.7 MB / 0.6743 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009606/0.0009607, allocations: 92.34 kB / 0.7935 GB, free: 39.95 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004187/0.0004192, allocations: 8.719 kB / 0.9224 GB, free: 8.664 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8892/0.8897, allocations: 121.3 MB / 1.041 GB, free: 58 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001051/0.8908, allocations: 435.9 kB / 1.041 GB, free: 57.79 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001802/0.8926, allocations: 1.588 MB / 1.043 GB, free: 56.49 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.4e-05/0.8927, allocations: 0 / 1.043 GB, free: 56.49 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.213e-05/0.8927, allocations: 0 / 1.043 GB, free: 56.49 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 8.734e-05/0.8928, allocations: 18.31 kB / 1.043 GB, free: 56.48 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008057/0.8936, allocations: 297.6 kB / 1.043 GB, free: 56.33 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002346/0.8938, allocations: 217.7 kB / 1.043 GB, free: 56.25 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.894, allocations: 20.22 kB / 1.043 GB, free: 56.24 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001168/0.8941, allocations: 90.39 kB / 1.043 GB, free: 56.21 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001247/0.8942, allocations: 66.56 kB / 1.044 GB, free: 56.19 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.565e-05/0.8943, allocations: 13.03 kB / 1.044 GB, free: 56.19 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 8.301e-05/0.8944, allocations: 28.19 kB / 1.044 GB, free: 56.18 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.361e-05/0.8944, allocations: 10.47 kB / 1.044 GB, free: 56.18 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.000107/0.8945, allocations: 95.28 kB / 1.044 GB, free: 56.12 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002464/0.8948, allocations: 213.7 kB / 1.044 GB, free: 56.07 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.8948, allocations: 0.6562 kB / 1.044 GB, free: 56.07 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.963e-06/0.8948, allocations: 0 / 1.044 GB, free: 56.07 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.339e-06/0.8948, allocations: 3.219 kB / 1.044 GB, free: 56.07 MB / 0.698 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.0003934/0.8952, allocations: 458 kB / 1.044 GB, free: 55.59 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.8952, allocations: 9.125 kB / 1.044 GB, free: 55.59 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.638e-05/0.8953, allocations: 16.7 kB / 1.044 GB, free: 55.59 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.748e-05/0.8954, allocations: 173.8 kB / 1.045 GB, free: 55.38 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.046e-05/0.8954, allocations: 11.94 kB / 1.045 GB, free: 55.38 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.382e-05/0.8955, allocations: 14.19 kB / 1.045 GB, free: 55.38 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/0.8956, allocations: 63.92 kB / 1.045 GB, free: 55.34 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.8956, allocations: 3.938 kB / 1.045 GB, free: 55.33 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.8956, allocations: 1.219 kB / 1.045 GB, free: 55.33 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.8956, allocations: 2.625 kB / 1.045 GB, free: 55.33 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.455e-05/0.8957, allocations: 16.81 kB / 1.045 GB, free: 55.33 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005243/0.8962, allocations: 417.4 kB / 1.045 GB, free: 55 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.967e-05/0.8963, allocations: 35.58 kB / 1.045 GB, free: 54.97 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.457e-05/0.8964, allocations: 22.89 kB / 1.045 GB, free: 54.95 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.256e-05/0.8964, allocations: 1 kB / 1.045 GB, free: 54.95 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002155/0.8966, allocations: 93.36 kB / 1.045 GB, free: 54.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 2.655e-06/0.8966, allocations: 9.141 kB / 1.045 GB, free: 54.89 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0003304/0.8969, allocations: 137.6 kB / 1.045 GB, free: 54.83 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.589e-05/0.897, allocations: 57.16 kB / 1.045 GB, free: 54.76 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.8971, allocations: 138.7 kB / 1.045 GB, free: 54.64 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.273e-05/0.8972, allocations: 32.95 kB / 1.046 GB, free: 54.61 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.946e-05/0.8973, allocations: 98.61 kB / 1.046 GB, free: 54.52 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.478e-05/0.8973, allocations: 29.09 kB / 1.046 GB, free: 54.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.416e-05/0.8973, allocations: 6.344 kB / 1.046 GB, free: 54.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.815e-05/0.8974, allocations: 325.6 kB / 1.046 GB, free: 54.18 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001844/0.8976, allocations: 85.69 kB / 1.046 GB, free: 54.15 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001983/0.8978, allocations: 134.7 kB / 1.046 GB, free: 54.07 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002624/0.8981, allocations: 235.7 kB / 1.046 GB, free: 53.87 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.8981, allocations: 0 / 1.046 GB, free: 53.87 MB / 0.698 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000544/0.8986, allocations: 376.7 kB / 1.047 GB, free: 53.66 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.516e-05/0.8987, allocations: 97.67 kB / 1.047 GB, free: 53.56 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.8987, allocations: 3.562 kB / 1.047 GB, free: 53.56 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.8987, allocations: 2.188 kB / 1.047 GB, free: 53.56 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.201e-05/0.8988, allocations: 11.44 kB / 1.047 GB, free: 53.55 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.8988, allocations: 1.938 kB / 1.047 GB, free: 53.55 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005278/0.8993, allocations: 114.2 kB / 1.047 GB, free: 53.54 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.161e-05/0.8994, allocations: 20.83 kB / 1.047 GB, free: 53.54 MB / 0.698 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,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,$PRE.booPul3.y,booPul3.y,logicalSwitch.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 9.95e-05/0.8995, allocations: 136.8 kB / 1.047 GB, free: 53.41 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.277e-05/0.8995, allocations: 6.531 kB / 1.047 GB, free: 53.41 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.407e-05/0.8995, allocations: 8.375 kB / 1.047 GB, free: 53.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.8995, allocations: 1.844 kB / 1.047 GB, free: 53.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.87e-06/0.8995, allocations: 0 / 1.047 GB, free: 53.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.8995, allocations: 3.672 kB / 1.047 GB, free: 53.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001309/0.8997, allocations: 195.2 kB / 1.047 GB, free: 53.19 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.8997, allocations: 1.359 kB / 1.047 GB, free: 53.19 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.055e-05/0.8997, allocations: 3.938 kB / 1.047 GB, free: 53.19 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.8997, allocations: 3.953 kB / 1.047 GB, free: 53.19 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.8997, allocations: 9.594 kB / 1.047 GB, free: 53.18 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/0.8997, allocations: 5.875 kB / 1.047 GB, free: 53.18 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.8997, allocations: 384 / 1.047 GB, free: 53.18 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001661/0.8999, allocations: 143.5 kB / 1.047 GB, free: 53.08 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.247e-05/0.8999, allocations: 82.17 kB / 1.048 GB, free: 52.98 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.997e-05/0.9, allocations: 6.109 kB / 1.048 GB, free: 52.98 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.269e-05/0.9, allocations: 3.328 kB / 1.048 GB, free: 52.98 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.883e-05/0.9, allocations: 11.44 kB / 1.048 GB, free: 52.97 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.315e-06/0.9001, allocations: 3.859 kB / 1.048 GB, free: 52.97 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.222e-05/0.9001, allocations: 100.1 kB / 1.048 GB, free: 52.89 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.243e-06/0.9001, allocations: 0 / 1.048 GB, free: 52.89 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002397/0.9004, allocations: 52.19 kB / 1.048 GB, free: 52.88 MB / 0.698 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.0001593/0.9005, allocations: 109.4 kB / 1.048 GB, free: 52.79 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004462/0.901, allocations: 367 kB / 1.048 GB, free: 52.52 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.901, allocations: 4.125 kB / 1.048 GB, free: 52.52 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 6.955e-05/0.9011, allocations: 42.62 kB / 1.048 GB, free: 52.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002551/0.9013, allocations: 21.34 kB / 1.048 GB, free: 52.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004169/0.9017, allocations: 208.6 kB / 1.048 GB, free: 52.34 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000155/0.9019, allocations: 0.692 MB / 1.049 GB, free: 51.64 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.614e-05/0.902, allocations: 10.64 kB / 1.049 GB, free: 51.64 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.563e-05/0.902, allocations: 14.88 kB / 1.049 GB, free: 51.63 MB / 0.698 GB Notification: Performance of SimCode: time 2.41e-07/0.902, allocations: 0 / 1.049 GB, free: 51.63 MB / 0.698 GB Notification: Performance of Templates: time 0.00556/0.9076, allocations: 2.489 MB / 1.052 GB, free: 51.41 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1)