Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Xor") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Xor") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.811/1.811, allocations: 297.4 MB / 312.6 MB, free: 2.945 MB / 234.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.00118/0.00118, allocations: 194 kB / 382.3 MB, free: 14.82 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.619/1.619, allocations: 225.7 MB / 0.6617 GB, free: 7.254 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 96.58 kB / 0.7789 GB, free: 46.84 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003501/0.0003503, allocations: 13.03 kB / 0.9059 GB, free: 4.891 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7918/0.7922, allocations: 119.2 MB / 1.022 GB, free: 57.66 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.00117/0.7934, allocations: 395.2 kB / 1.023 GB, free: 57.5 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002046/0.7955, allocations: 1.427 MB / 1.024 GB, free: 56.61 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.283e-05/0.7955, allocations: 4.969 kB / 1.024 GB, free: 56.6 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.73e-05/0.7955, allocations: 0 / 1.024 GB, free: 56.6 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 8.993e-05/0.7956, allocations: 9.656 kB / 1.024 GB, free: 56.6 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006876/0.7963, allocations: 200.6 kB / 1.024 GB, free: 56.55 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001691/0.7965, allocations: 148.4 kB / 1.024 GB, free: 56.5 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.109e-05/0.7966, allocations: 13.81 kB / 1.024 GB, free: 56.49 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 8.608e-05/0.7967, allocations: 60.47 kB / 1.024 GB, free: 56.48 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 9.35e-05/0.7968, allocations: 47.36 kB / 1.025 GB, free: 56.46 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.042e-05/0.7968, allocations: 11.69 kB / 1.025 GB, free: 56.46 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 8e-05/0.7969, allocations: 22.8 kB / 1.025 GB, free: 56.46 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.036e-05/0.7969, allocations: 7.516 kB / 1.025 GB, free: 56.45 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 9.722e-05/0.7971, allocations: 79.31 kB / 1.025 GB, free: 56.4 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002225/0.7973, allocations: 138.7 kB / 1.025 GB, free: 56.38 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.7973, allocations: 1.781 kB / 1.025 GB, free: 56.38 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.783e-06/0.7973, allocations: 0 / 1.025 GB, free: 56.38 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.968e-06/0.7973, allocations: 0.6875 kB / 1.025 GB, free: 56.38 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003948/0.7977, allocations: 409.5 kB / 1.025 GB, free: 55.94 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.7978, allocations: 9.531 kB / 1.025 GB, free: 55.94 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.243e-05/0.7978, allocations: 13.39 kB / 1.025 GB, free: 55.94 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.162e-05/0.7979, allocations: 174 kB / 1.025 GB, free: 55.73 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.352e-05/0.7979, allocations: 5.156 kB / 1.025 GB, free: 55.73 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.512e-05/0.798, allocations: 13.62 kB / 1.025 GB, free: 55.73 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001162/0.7981, allocations: 53.53 kB / 1.025 GB, free: 55.69 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.7981, allocations: 4.828 kB / 1.025 GB, free: 55.69 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.7981, allocations: 5.5 kB / 1.025 GB, free: 55.68 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.962e-06/0.7982, allocations: 0.9375 kB / 1.025 GB, free: 55.68 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.106e-05/0.7982, allocations: 17.73 kB / 1.025 GB, free: 55.68 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005196/0.7987, allocations: 354.4 kB / 1.026 GB, free: 55.38 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.536e-05/0.7988, allocations: 42.78 kB / 1.026 GB, free: 55.34 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.979e-05/0.7989, allocations: 15.14 kB / 1.026 GB, free: 55.33 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.025e-06/0.7989, allocations: 4 kB / 1.026 GB, free: 55.32 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001871/0.7991, allocations: 84.75 kB / 1.026 GB, free: 55.27 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 2.234e-06/0.7991, allocations: 2.859 kB / 1.026 GB, free: 55.27 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0002553/0.7993, allocations: 104.4 kB / 1.026 GB, free: 55.21 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/0.7994, allocations: 56.92 kB / 1.026 GB, free: 55.14 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.495e-05/0.7995, allocations: 118.3 kB / 1.026 GB, free: 55.04 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.562e-05/0.7995, allocations: 29.58 kB / 1.026 GB, free: 55.01 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.539e-05/0.7996, allocations: 95.58 kB / 1.026 GB, free: 54.92 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.548e-05/0.7996, allocations: 11.45 kB / 1.026 GB, free: 54.91 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.844e-05/0.7996, allocations: 5.094 kB / 1.026 GB, free: 54.91 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.284e-05/0.7997, allocations: 322.8 kB / 1.027 GB, free: 54.59 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001384/0.7998, allocations: 62.25 kB / 1.027 GB, free: 54.57 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001397/0.8, allocations: 89.84 kB / 1.027 GB, free: 54.51 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001887/0.8002, allocations: 162.8 kB / 1.027 GB, free: 54.38 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.8002, allocations: 1.219 kB / 1.027 GB, free: 54.38 MB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003992/0.8006, allocations: 261.7 kB / 1.027 GB, free: 54.22 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.626e-05/0.8006, allocations: 77.48 kB / 1.027 GB, free: 54.15 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.8007, allocations: 3.391 kB / 1.027 GB, free: 54.15 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.8007, allocations: 4.875 kB / 1.027 GB, free: 54.15 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.356e-05/0.8007, allocations: 8.109 kB / 1.027 GB, free: 54.14 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.8007, allocations: 2.047 kB / 1.027 GB, free: 54.14 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003741/0.8011, allocations: 82.62 kB / 1.027 GB, free: 54.13 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.105e-05/0.8011, allocations: 9.344 kB / 1.027 GB, free: 54.13 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,xor1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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 7.571e-05/0.8012, allocations: 131.4 kB / 1.027 GB, free: 54.01 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.247e-06/0.8012, allocations: 4 kB / 1.027 GB, free: 54 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.943e-05/0.8013, allocations: 7.656 kB / 1.028 GB, free: 54 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.8013, allocations: 3.406 kB / 1.028 GB, free: 54 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.8013, allocations: 3.938 kB / 1.028 GB, free: 54 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.8013, allocations: 0.7969 kB / 1.028 GB, free: 54 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.947e-05/0.8014, allocations: 180.5 kB / 1.028 GB, free: 53.79 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.8014, allocations: 0 / 1.028 GB, free: 53.79 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.638e-06/0.8014, allocations: 4.156 kB / 1.028 GB, free: 53.79 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.8014, allocations: 0.7031 kB / 1.028 GB, free: 53.79 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.8014, allocations: 0.7031 kB / 1.028 GB, free: 53.79 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.8015, allocations: 1.062 kB / 1.028 GB, free: 53.79 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.8015, allocations: 5.5 kB / 1.028 GB, free: 53.79 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001276/0.8016, allocations: 116 kB / 1.028 GB, free: 53.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.102e-05/0.8016, allocations: 81.67 kB / 1.028 GB, free: 53.61 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.685e-05/0.8016, allocations: 6.359 kB / 1.028 GB, free: 53.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.013e-05/0.8017, allocations: 2.297 kB / 1.028 GB, free: 53.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.544e-05/0.8017, allocations: 11.73 kB / 1.028 GB, free: 53.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.8017, allocations: 4.75 kB / 1.028 GB, free: 53.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.465e-05/0.8018, allocations: 95.62 kB / 1.028 GB, free: 53.51 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8018, allocations: 0 / 1.028 GB, free: 53.51 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002173/0.802, allocations: 32.88 kB / 1.028 GB, free: 53.51 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: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,xor1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001658/0.8022, allocations: 110.8 kB / 1.028 GB, free: 53.42 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002905/0.8025, allocations: 245.7 kB / 1.028 GB, free: 53.24 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.8025, allocations: 0 / 1.028 GB, free: 53.24 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.156e-05/0.8025, allocations: 29.02 kB / 1.028 GB, free: 53.24 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001852/0.8027, allocations: 26.22 kB / 1.028 GB, free: 53.23 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002927/0.803, allocations: 169.9 kB / 1.029 GB, free: 53.08 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001255/0.8032, allocations: 0.688 MB / 1.029 GB, free: 52.39 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.526e-05/0.8032, allocations: 6.844 kB / 1.029 GB, free: 52.38 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.63e-05/0.8032, allocations: 10.31 kB / 1.029 GB, free: 52.38 MB / 0.698 GB Notification: Performance of SimCode: time 2.61e-07/0.8032, allocations: 0 / 1.029 GB, free: 52.38 MB / 0.698 GB Notification: Performance of Templates: time 0.004068/0.8073, allocations: 1.766 MB / 1.031 GB, free: 52.23 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Xor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1)