Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Xor") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.835/1.835, allocations: 291.7 MB / 306.8 MB, free: 7.656 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.0009302/0.0009303, allocations: 184.2 kB / 375.4 MB, free: 5.121 MB / 298.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.555/1.555, allocations: 225.7 MB / 0.6538 GB, free: 13.61 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.0008265/0.0008264, allocations: 108.1 kB / 0.7699 GB, free: 50.4 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0005971/0.0005974, allocations: 13.09 kB / 0.8956 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8177/0.8183, allocations: 118.1 MB / 1.011 GB, free: 57.68 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001021/0.8194, allocations: 392 kB / 1.011 GB, free: 57.67 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001789/0.8212, allocations: 1.165 MB / 1.012 GB, free: 57.59 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.617e-05/0.8213, allocations: 0 / 1.012 GB, free: 57.59 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.875e-05/0.8213, allocations: 0 / 1.012 GB, free: 57.59 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001114/0.8214, allocations: 12 kB / 1.012 GB, free: 57.59 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006857/0.8221, allocations: 196.8 kB / 1.013 GB, free: 57.57 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.000187/0.8223, allocations: 139.5 kB / 1.013 GB, free: 57.56 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.8224, allocations: 7.359 kB / 1.013 GB, free: 57.56 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.8225, allocations: 63.28 kB / 1.013 GB, free: 57.56 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001131/0.8226, allocations: 47.98 kB / 1.013 GB, free: 57.55 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.405e-05/0.8227, allocations: 8.625 kB / 1.013 GB, free: 57.55 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 8.792e-05/0.8228, allocations: 24.34 kB / 1.013 GB, free: 57.55 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.197e-05/0.8228, allocations: 4.094 kB / 1.013 GB, free: 57.55 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 7.284e-05/0.8229, allocations: 44.92 kB / 1.013 GB, free: 57.52 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001486/0.823, allocations: 101.7 kB / 1.013 GB, free: 57.52 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.8231, allocations: 0 / 1.013 GB, free: 57.52 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.094e-06/0.8231, allocations: 0 / 1.013 GB, free: 57.52 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.8231, allocations: 0 / 1.013 GB, free: 57.52 MB / 0.7136 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.0004601/0.8235, allocations: 411.1 kB / 1.013 GB, free: 57.09 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.8236, allocations: 10.38 kB / 1.013 GB, free: 57.09 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.084e-05/0.8237, allocations: 12.97 kB / 1.013 GB, free: 57.09 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001154/0.8238, allocations: 168.9 kB / 1.014 GB, free: 56.89 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.722e-05/0.8238, allocations: 9 kB / 1.014 GB, free: 56.89 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.065e-05/0.8239, allocations: 13.41 kB / 1.014 GB, free: 56.89 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001208/0.824, allocations: 52.62 kB / 1.014 GB, free: 56.86 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.824, allocations: 2.562 kB / 1.014 GB, free: 56.86 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.824, allocations: 4.875 kB / 1.014 GB, free: 56.85 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.792e-06/0.824, allocations: 2.922 kB / 1.014 GB, free: 56.85 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.648e-05/0.8241, allocations: 16.28 kB / 1.014 GB, free: 56.85 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004724/0.8246, allocations: 356.4 kB / 1.014 GB, free: 56.59 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.633e-05/0.8247, allocations: 40.73 kB / 1.014 GB, free: 56.55 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.272e-05/0.8247, allocations: 19.66 kB / 1.014 GB, free: 56.54 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 7.404e-06/0.8247, allocations: 0.5 kB / 1.014 GB, free: 56.54 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001761/0.8249, allocations: 85.56 kB / 1.014 GB, free: 56.5 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 2.615e-06/0.8249, allocations: 0.9375 kB / 1.014 GB, free: 56.5 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002693/0.8252, allocations: 104.5 kB / 1.014 GB, free: 56.46 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.154e-05/0.8252, allocations: 54.81 kB / 1.014 GB, free: 56.39 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.8254, allocations: 120.2 kB / 1.014 GB, free: 56.3 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.141e-05/0.8254, allocations: 36.23 kB / 1.015 GB, free: 56.27 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.723e-05/0.8255, allocations: 93.72 kB / 1.015 GB, free: 56.18 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.969e-05/0.8255, allocations: 12.88 kB / 1.015 GB, free: 56.18 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.654e-05/0.8255, allocations: 2.688 kB / 1.015 GB, free: 56.18 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.8256, allocations: 323 kB / 1.015 GB, free: 55.86 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001389/0.8258, allocations: 60.3 kB / 1.015 GB, free: 55.86 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001467/0.8259, allocations: 98.3 kB / 1.015 GB, free: 55.82 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001933/0.8261, allocations: 154.2 kB / 1.015 GB, free: 55.71 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.8261, allocations: 1.219 kB / 1.015 GB, free: 55.71 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004114/0.8266, allocations: 257.8 kB / 1.015 GB, free: 55.61 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.702e-05/0.8266, allocations: 72.72 kB / 1.016 GB, free: 55.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.8266, allocations: 0.75 kB / 1.016 GB, free: 55.55 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/0.8267, allocations: 3 kB / 1.016 GB, free: 55.55 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.352e-05/0.8267, allocations: 4.438 kB / 1.016 GB, free: 55.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.307e-05/0.8267, allocations: 7.891 kB / 1.016 GB, free: 55.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004199/0.8271, allocations: 84.03 kB / 1.016 GB, free: 55.54 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.872e-05/0.8272, allocations: 14.28 kB / 1.016 GB, free: 55.54 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001067/0.8273, allocations: 122.4 kB / 1.016 GB, free: 55.42 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.548e-05/0.8273, allocations: 6.469 kB / 1.016 GB, free: 55.42 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.713e-05/0.8274, allocations: 9.203 kB / 1.016 GB, free: 55.41 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.199e-06/0.8274, allocations: 1.938 kB / 1.016 GB, free: 55.41 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.35e-05/0.8274, allocations: 3.062 kB / 1.016 GB, free: 55.41 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.8274, allocations: 1.219 kB / 1.016 GB, free: 55.41 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001636/0.8276, allocations: 180.8 kB / 1.016 GB, free: 55.22 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.8276, allocations: 5.219 kB / 1.016 GB, free: 55.22 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.082e-05/0.8276, allocations: 6.375 kB / 1.016 GB, free: 55.22 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.8276, allocations: 3.938 kB / 1.016 GB, free: 55.21 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.8276, allocations: 0 / 1.016 GB, free: 55.21 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.8276, allocations: 0.7812 kB / 1.016 GB, free: 55.21 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.8277, allocations: 0 / 1.016 GB, free: 55.21 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001764/0.8278, allocations: 117.9 kB / 1.016 GB, free: 55.14 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.474e-05/0.8279, allocations: 81.86 kB / 1.016 GB, free: 55.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.729e-05/0.8279, allocations: 9.562 kB / 1.016 GB, free: 55.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.163e-05/0.828, allocations: 6.156 kB / 1.016 GB, free: 55.05 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.46e-05/0.828, allocations: 6.953 kB / 1.016 GB, free: 55.05 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.742e-06/0.828, allocations: 2.844 kB / 1.016 GB, free: 55.05 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.036e-05/0.8281, allocations: 93.59 kB / 1.016 GB, free: 54.97 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8281, allocations: 3.781 kB / 1.016 GB, free: 54.97 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002353/0.8283, allocations: 30.25 kB / 1.016 GB, free: 54.97 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000238/0.8286, allocations: 112.4 kB / 1.016 GB, free: 54.88 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004071/0.829, allocations: 245.6 kB / 1.017 GB, free: 54.75 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.829, allocations: 0 / 1.017 GB, free: 54.75 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.806e-05/0.8291, allocations: 30.16 kB / 1.017 GB, free: 54.75 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002651/0.8293, allocations: 17.28 kB / 1.017 GB, free: 54.75 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004128/0.8298, allocations: 169.4 kB / 1.017 GB, free: 54.62 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002204/0.83, allocations: 0.6895 MB / 1.018 GB, free: 53.93 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.188e-05/0.83, allocations: 2.781 kB / 1.018 GB, free: 53.93 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.229e-05/0.8301, allocations: 10.75 kB / 1.018 GB, free: 53.92 MB / 0.7136 GB Notification: Performance of SimCode: time 2.01e-07/0.8301, allocations: 0 / 1.018 GB, free: 53.92 MB / 0.7136 GB Notification: Performance of Templates: time 0.004647/0.8347, allocations: 1.72 MB / 1.019 GB, free: 53.83 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Xor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1)