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.Nor.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.Nor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") 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.795/1.795, 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.001096/0.001096, allocations: 190 kB / 382.3 MB, free: 14.85 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.657/1.657, allocations: 225.7 MB / 0.6617 GB, free: 7.242 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.0007915/0.0007915, allocations: 92.8 kB / 0.7789 GB, free: 46.84 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003662/0.0003663, allocations: 16.91 kB / 0.9059 GB, free: 4.922 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7642/0.7646, allocations: 119.2 MB / 1.022 GB, free: 57.37 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001054/0.7657, allocations: 396.5 kB / 1.023 GB, free: 57.21 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002109/0.7679, allocations: 1.426 MB / 1.024 GB, free: 56.32 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.108e-05/0.768, allocations: 2.438 kB / 1.024 GB, free: 56.32 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.33e-05/0.768, allocations: 3.938 kB / 1.024 GB, free: 56.32 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001096/0.7681, allocations: 10.62 kB / 1.024 GB, free: 56.32 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009114/0.769, allocations: 198.6 kB / 1.024 GB, free: 56.27 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0003232/0.7694, allocations: 146 kB / 1.024 GB, free: 56.22 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.7695, allocations: 14.08 kB / 1.024 GB, free: 56.21 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001999/0.7697, allocations: 60.78 kB / 1.024 GB, free: 56.2 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001581/0.7699, allocations: 43.22 kB / 1.025 GB, free: 56.18 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 5.8e-05/0.77, allocations: 8.281 kB / 1.025 GB, free: 56.18 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001201/0.7701, allocations: 30.2 kB / 1.025 GB, free: 56.18 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.311e-05/0.7701, allocations: 7.609 kB / 1.025 GB, free: 56.17 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001267/0.7703, allocations: 78.56 kB / 1.025 GB, free: 56.12 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003172/0.7706, allocations: 138.6 kB / 1.025 GB, free: 56.09 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.7706, allocations: 1 kB / 1.025 GB, free: 56.09 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.254e-06/0.7706, allocations: 0 / 1.025 GB, free: 56.09 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.7706, allocations: 0.625 kB / 1.025 GB, free: 56.09 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.0005092/0.7711, allocations: 413.2 kB / 1.025 GB, free: 55.66 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.7712, allocations: 9.031 kB / 1.025 GB, free: 55.66 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.435e-05/0.7713, allocations: 14.52 kB / 1.025 GB, free: 55.65 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/0.7714, allocations: 169.8 kB / 1.025 GB, free: 55.45 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.896e-05/0.7714, allocations: 6.938 kB / 1.025 GB, free: 55.45 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.082e-05/0.7715, allocations: 10.67 kB / 1.025 GB, free: 55.45 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000139/0.7716, allocations: 52.73 kB / 1.025 GB, free: 55.41 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.7717, allocations: 7.344 kB / 1.025 GB, free: 55.41 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.7717, allocations: 4.547 kB / 1.025 GB, free: 55.41 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.7717, allocations: 5.25 kB / 1.025 GB, free: 55.41 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.41e-05/0.7718, allocations: 12.58 kB / 1.025 GB, free: 55.4 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005851/0.7724, allocations: 347.2 kB / 1.026 GB, free: 55.1 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.43e-05/0.7725, allocations: 42.78 kB / 1.026 GB, free: 55.06 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.452e-05/0.7725, allocations: 16.78 kB / 1.026 GB, free: 55.05 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.127e-06/0.7725, allocations: 0.75 kB / 1.026 GB, free: 55.05 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002103/0.7727, allocations: 87.39 kB / 1.026 GB, free: 54.99 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 2.024e-06/0.7728, allocations: 0 / 1.026 GB, free: 54.99 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0002743/0.773, allocations: 105.3 kB / 1.026 GB, free: 54.94 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.001e-05/0.7731, allocations: 56.72 kB / 1.026 GB, free: 54.87 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/0.7732, allocations: 120.3 kB / 1.026 GB, free: 54.76 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.055e-05/0.7733, allocations: 29.83 kB / 1.026 GB, free: 54.73 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.749e-05/0.7733, allocations: 95.66 kB / 1.026 GB, free: 54.64 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.937e-05/0.7733, allocations: 12.42 kB / 1.026 GB, free: 54.63 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.027e-05/0.7734, allocations: 3.312 kB / 1.026 GB, free: 54.63 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.525e-05/0.7734, allocations: 325.4 kB / 1.027 GB, free: 54.31 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001735/0.7736, allocations: 59.03 kB / 1.027 GB, free: 54.29 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001647/0.7738, allocations: 90.23 kB / 1.027 GB, free: 54.23 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000199/0.774, allocations: 161 kB / 1.027 GB, free: 54.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.774, allocations: 0 / 1.027 GB, free: 54.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004562/0.7745, allocations: 262.4 kB / 1.027 GB, free: 53.95 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.767e-05/0.7745, allocations: 70.2 kB / 1.027 GB, free: 53.88 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.7745, allocations: 4.688 kB / 1.027 GB, free: 53.88 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.7746, allocations: 2.906 kB / 1.027 GB, free: 53.88 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.524e-05/0.7746, allocations: 8.516 kB / 1.027 GB, free: 53.88 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.7746, allocations: 4.531 kB / 1.027 GB, free: 53.88 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004439/0.7751, allocations: 83.83 kB / 1.027 GB, free: 53.86 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.051e-05/0.7751, allocations: 12.22 kB / 1.027 GB, free: 53.86 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,nor1.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 0.0001108/0.7752, allocations: 123.4 kB / 1.027 GB, free: 53.74 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.991e-05/0.7753, allocations: 8.922 kB / 1.027 GB, free: 53.73 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.685e-05/0.7753, allocations: 13.14 kB / 1.027 GB, free: 53.73 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.7753, allocations: 0 / 1.027 GB, free: 53.73 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.7753, allocations: 0 / 1.027 GB, free: 53.73 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.7753, allocations: 3.797 kB / 1.027 GB, free: 53.73 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001333/0.7755, allocations: 175.8 kB / 1.028 GB, free: 53.53 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.7755, allocations: 5.062 kB / 1.028 GB, free: 53.52 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.242e-05/0.7755, allocations: 1.156 kB / 1.028 GB, free: 53.52 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.7755, allocations: 0 / 1.028 GB, free: 53.52 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.7755, allocations: 12.5 kB / 1.028 GB, free: 53.52 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.7756, allocations: 0 / 1.028 GB, free: 53.52 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.7756, allocations: 4 kB / 1.028 GB, free: 53.51 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001515/0.7757, allocations: 106.5 kB / 1.028 GB, free: 53.43 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.116e-05/0.7758, allocations: 86.25 kB / 1.028 GB, free: 53.33 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.313e-05/0.7758, allocations: 7.781 kB / 1.028 GB, free: 53.33 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.365e-05/0.7758, allocations: 3.938 kB / 1.028 GB, free: 53.32 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.104e-05/0.7759, allocations: 9.625 kB / 1.028 GB, free: 53.32 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.745e-06/0.7759, allocations: 3.062 kB / 1.028 GB, free: 53.32 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.153e-05/0.7759, allocations: 98.69 kB / 1.028 GB, free: 53.24 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.41e-07/0.7759, allocations: 0 / 1.028 GB, free: 53.24 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002728/0.7762, allocations: 30.81 kB / 1.028 GB, free: 53.23 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,nor1.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.0001754/0.7764, allocations: 109 kB / 1.028 GB, free: 53.15 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004138/0.7768, allocations: 246.3 kB / 1.028 GB, free: 52.97 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.7768, allocations: 0 / 1.028 GB, free: 52.97 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 6.582e-05/0.7769, allocations: 25.95 kB / 1.028 GB, free: 52.96 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000369/0.7773, allocations: 18.42 kB / 1.028 GB, free: 52.96 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000514/0.7778, allocations: 169.1 kB / 1.029 GB, free: 52.81 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002466/0.7781, allocations: 0.6864 MB / 1.029 GB, free: 52.12 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.168e-05/0.7781, allocations: 10.02 kB / 1.029 GB, free: 52.11 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.515e-05/0.7782, allocations: 10.12 kB / 1.029 GB, free: 52.11 MB / 0.698 GB Notification: Performance of SimCode: time 9.02e-07/0.7782, allocations: 0 / 1.029 GB, free: 52.11 MB / 0.698 GB Notification: Performance of Templates: time 0.005797/0.784, allocations: 1.757 MB / 1.031 GB, free: 51.97 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1)