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.Xor.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.Xor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.932/1.932, allocations: 306.1 MB / 321.4 MB, free: 10.68 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.001095/0.001095, allocations: 179.5 kB / 393.1 MB, free: 4.051 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.807/1.807, allocations: 225.7 MB / 0.6743 GB, free: 12.6 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.0008028/0.0008031, allocations: 94.28 kB / 0.7935 GB, free: 40.12 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003958/0.0003959, allocations: 8 kB / 0.9224 GB, free: 8.656 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8177/0.8181, allocations: 121.3 MB / 1.041 GB, free: 58.52 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001021/0.8192, allocations: 399 kB / 1.041 GB, free: 58.32 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001684/0.8209, allocations: 1.416 MB / 1.043 GB, free: 57.18 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.938e-05/0.821, allocations: 0 / 1.043 GB, free: 57.18 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.861e-05/0.821, allocations: 1.094 kB / 1.043 GB, free: 57.18 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.859e-05/0.8211, allocations: 11.27 kB / 1.043 GB, free: 57.17 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006667/0.8218, allocations: 201.9 kB / 1.043 GB, free: 57.07 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001849/0.822, allocations: 150.4 kB / 1.043 GB, free: 57.02 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.8221, allocations: 10.72 kB / 1.043 GB, free: 57.02 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.8222, allocations: 65.95 kB / 1.043 GB, free: 57 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001061/0.8223, allocations: 47.84 kB / 1.043 GB, free: 56.98 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.064e-05/0.8223, allocations: 8.312 kB / 1.043 GB, free: 56.98 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 8.469e-05/0.8224, allocations: 23.69 kB / 1.043 GB, free: 56.98 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.299e-05/0.8225, allocations: 9.891 kB / 1.043 GB, free: 56.97 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.000131/0.8226, allocations: 76.58 kB / 1.043 GB, free: 56.92 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002321/0.8228, allocations: 138.9 kB / 1.043 GB, free: 56.89 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.952e-06/0.8229, allocations: 0.6875 kB / 1.043 GB, free: 56.89 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.194e-06/0.8229, allocations: 0.9062 kB / 1.043 GB, free: 56.89 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.399e-06/0.8229, allocations: 3.969 kB / 1.043 GB, free: 56.89 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.0004585/0.8233, allocations: 410.1 kB / 1.044 GB, free: 56.45 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.8234, allocations: 11.09 kB / 1.044 GB, free: 56.45 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.407e-05/0.8235, allocations: 8.375 kB / 1.044 GB, free: 56.45 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.8236, allocations: 176.8 kB / 1.044 GB, free: 56.24 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.515e-05/0.8236, allocations: 8.641 kB / 1.044 GB, free: 56.24 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.644e-05/0.8236, allocations: 11.09 kB / 1.044 GB, free: 56.24 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001368/0.8238, allocations: 56.5 kB / 1.044 GB, free: 56.2 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.8238, allocations: 192 / 1.044 GB, free: 56.2 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.8238, allocations: 4.594 kB / 1.044 GB, free: 56.19 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.8238, allocations: 0 / 1.044 GB, free: 56.19 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.956e-05/0.8239, allocations: 16.88 kB / 1.044 GB, free: 56.19 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004754/0.8244, allocations: 349.2 kB / 1.044 GB, free: 55.89 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.465e-05/0.8245, allocations: 41.17 kB / 1.044 GB, free: 55.85 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.947e-05/0.8245, allocations: 18.64 kB / 1.044 GB, free: 55.84 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.212e-05/0.8245, allocations: 0 / 1.044 GB, free: 55.84 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001837/0.8247, allocations: 87.14 kB / 1.045 GB, free: 55.78 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 2.334e-06/0.8247, allocations: 5.859 kB / 1.045 GB, free: 55.77 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0002705/0.825, allocations: 108.5 kB / 1.045 GB, free: 55.71 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.281e-05/0.825, allocations: 53.06 kB / 1.045 GB, free: 55.65 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.8251, allocations: 117.4 kB / 1.045 GB, free: 55.55 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.818e-05/0.8252, allocations: 30.52 kB / 1.045 GB, free: 55.52 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.234e-05/0.8253, allocations: 97.72 kB / 1.045 GB, free: 55.43 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.745e-05/0.8253, allocations: 17.77 kB / 1.045 GB, free: 55.41 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.588e-05/0.8253, allocations: 3.688 kB / 1.045 GB, free: 55.41 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.371e-05/0.8254, allocations: 321.4 kB / 1.045 GB, free: 55.09 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001277/0.8255, allocations: 60.88 kB / 1.045 GB, free: 55.07 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001372/0.8256, allocations: 91.64 kB / 1.045 GB, free: 55.01 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001737/0.8258, allocations: 169.6 kB / 1.046 GB, free: 54.87 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.8258, allocations: 0.8125 kB / 1.046 GB, free: 54.87 MB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003846/0.8262, allocations: 254.1 kB / 1.046 GB, free: 54.72 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.01e-05/0.8263, allocations: 74.47 kB / 1.046 GB, free: 54.65 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.8263, allocations: 0.625 kB / 1.046 GB, free: 54.65 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.8263, allocations: 2.875 kB / 1.046 GB, free: 54.65 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.239e-05/0.8263, allocations: 3.625 kB / 1.046 GB, free: 54.65 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.8264, allocations: 0 / 1.046 GB, free: 54.65 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004214/0.8268, allocations: 84.38 kB / 1.046 GB, free: 54.64 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.494e-05/0.8268, allocations: 15.88 kB / 1.046 GB, free: 54.64 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 8.973e-05/0.8269, allocations: 130.3 kB / 1.046 GB, free: 54.52 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.335e-05/0.8269, allocations: 3.906 kB / 1.046 GB, free: 54.51 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.14e-05/0.827, allocations: 14.72 kB / 1.046 GB, free: 54.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.827, allocations: 1.531 kB / 1.046 GB, free: 54.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.827, allocations: 0.5625 kB / 1.046 GB, free: 54.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.827, allocations: 0 / 1.046 GB, free: 54.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00014/0.8272, allocations: 182 kB / 1.046 GB, free: 54.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.8272, allocations: 0 / 1.046 GB, free: 54.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.026e-05/0.8272, allocations: 0.75 kB / 1.046 GB, free: 54.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.8272, allocations: 6.75 kB / 1.046 GB, free: 54.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.8272, allocations: 4.578 kB / 1.046 GB, free: 54.29 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.8272, allocations: 0.5156 kB / 1.046 GB, free: 54.29 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.8272, allocations: 0 / 1.046 GB, free: 54.29 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001482/0.8274, allocations: 117.2 kB / 1.046 GB, free: 54.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.246e-05/0.8274, allocations: 84.83 kB / 1.046 GB, free: 54.11 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.796e-05/0.8274, allocations: 1.453 kB / 1.046 GB, free: 54.11 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.979e-05/0.8275, allocations: 0 / 1.046 GB, free: 54.11 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.8e-05/0.8275, allocations: 18.25 kB / 1.046 GB, free: 54.09 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.8275, allocations: 5.906 kB / 1.047 GB, free: 54.09 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.923e-05/0.8276, allocations: 94.19 kB / 1.047 GB, free: 54.01 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8276, allocations: 0 / 1.047 GB, free: 54.01 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002206/0.8278, allocations: 26.94 kB / 1.047 GB, free: 54.01 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.0001763/0.828, allocations: 110.8 kB / 1.047 GB, free: 53.92 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003287/0.8283, allocations: 249.2 kB / 1.047 GB, free: 53.74 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.8284, allocations: 4.062 kB / 1.047 GB, free: 53.73 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.856e-05/0.8284, allocations: 23.77 kB / 1.047 GB, free: 53.73 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002341/0.8286, allocations: 15.61 kB / 1.047 GB, free: 53.73 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003952/0.829, allocations: 179.2 kB / 1.047 GB, free: 53.58 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001671/0.8292, allocations: 0.688 MB / 1.048 GB, free: 52.89 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.613e-05/0.8293, allocations: 2.391 kB / 1.048 GB, free: 52.89 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.242e-05/0.8293, allocations: 14.77 kB / 1.048 GB, free: 52.88 MB / 0.698 GB Notification: Performance of SimCode: time 4.91e-07/0.8293, allocations: 0 / 1.048 GB, free: 52.88 MB / 0.698 GB Notification: Performance of Templates: time 0.004465/0.8338, allocations: 1.768 MB / 1.05 GB, free: 52.71 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1)