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.Nor.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.Nor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.928/1.928, allocations: 306.1 MB / 321.4 MB, free: 10.67 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.001325/0.001325, allocations: 187.4 kB / 393.1 MB, free: 4.043 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.544/1.544, allocations: 225.7 MB / 0.6743 GB, free: 12.59 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.0008429/0.0008427, allocations: 93.44 kB / 0.7935 GB, free: 39.88 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004316/0.0004316, allocations: 12 kB / 0.9224 GB, free: 8.641 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7803/0.7808, allocations: 121.3 MB / 1.041 GB, free: 57.79 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.0009919/0.7818, allocations: 391.1 kB / 1.041 GB, free: 57.61 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001641/0.7835, allocations: 1.413 MB / 1.043 GB, free: 56.47 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.828e-05/0.7835, allocations: 0 / 1.043 GB, free: 56.47 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.918e-05/0.7836, allocations: 3.938 kB / 1.043 GB, free: 56.46 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 9.671e-05/0.7837, allocations: 16.39 kB / 1.043 GB, free: 56.45 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006451/0.7843, allocations: 203.6 kB / 1.043 GB, free: 56.35 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001596/0.7845, allocations: 143.2 kB / 1.043 GB, free: 56.3 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.7846, allocations: 11.66 kB / 1.043 GB, free: 56.3 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 9.941e-05/0.7847, allocations: 63.03 kB / 1.043 GB, free: 56.28 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000109/0.7848, allocations: 39.25 kB / 1.043 GB, free: 56.27 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.086e-05/0.7849, allocations: 8.625 kB / 1.043 GB, free: 56.27 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 8.395e-05/0.785, allocations: 29.77 kB / 1.043 GB, free: 56.26 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.223e-05/0.785, allocations: 14.91 kB / 1.043 GB, free: 56.25 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001025/0.7851, allocations: 75.36 kB / 1.043 GB, free: 56.2 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002175/0.7853, allocations: 136.2 kB / 1.043 GB, free: 56.17 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.7853, allocations: 0 / 1.043 GB, free: 56.17 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.553e-06/0.7853, allocations: 3.438 kB / 1.043 GB, free: 56.17 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.7853, allocations: 0 / 1.043 GB, free: 56.17 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.0004636/0.7858, allocations: 417.3 kB / 1.044 GB, free: 55.73 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.7859, allocations: 10.28 kB / 1.044 GB, free: 55.73 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.15e-05/0.7859, allocations: 9.094 kB / 1.044 GB, free: 55.73 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001049/0.786, allocations: 170.3 kB / 1.044 GB, free: 55.52 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.474e-05/0.7861, allocations: 8.547 kB / 1.044 GB, free: 55.52 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.277e-05/0.7861, allocations: 10.25 kB / 1.044 GB, free: 55.52 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000109/0.7862, allocations: 53.8 kB / 1.044 GB, free: 55.48 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.7863, allocations: 2.156 kB / 1.044 GB, free: 55.48 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.7863, allocations: 4.438 kB / 1.044 GB, free: 55.48 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.7863, allocations: 1.469 kB / 1.044 GB, free: 55.48 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.071e-05/0.7863, allocations: 12.28 kB / 1.044 GB, free: 55.47 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004637/0.7868, allocations: 347 kB / 1.044 GB, free: 55.18 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.075e-05/0.7869, allocations: 37.61 kB / 1.044 GB, free: 55.14 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.744e-05/0.7869, allocations: 19.69 kB / 1.044 GB, free: 55.12 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.552e-06/0.7869, allocations: 5.312 kB / 1.044 GB, free: 55.12 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001835/0.7871, allocations: 92.88 kB / 1.044 GB, free: 55.05 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 2.685e-06/0.7871, allocations: 0 / 1.044 GB, free: 55.05 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0002347/0.7874, allocations: 106.6 kB / 1.045 GB, free: 55 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.186e-05/0.7874, allocations: 58.16 kB / 1.045 GB, free: 54.93 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.853e-05/0.7875, allocations: 115.2 kB / 1.045 GB, free: 54.83 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.657e-05/0.7875, allocations: 30.92 kB / 1.045 GB, free: 54.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.444e-05/0.7876, allocations: 94.66 kB / 1.045 GB, free: 54.71 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.556e-05/0.7876, allocations: 17.8 kB / 1.045 GB, free: 54.69 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.624e-05/0.7877, allocations: 4.188 kB / 1.045 GB, free: 54.69 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.171e-05/0.7877, allocations: 326.9 kB / 1.045 GB, free: 54.37 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001228/0.7879, allocations: 58.16 kB / 1.045 GB, free: 54.35 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001383/0.788, allocations: 92.05 kB / 1.045 GB, free: 54.29 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001638/0.7882, allocations: 156.9 kB / 1.046 GB, free: 54.16 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.7882, allocations: 0 / 1.046 GB, free: 54.16 MB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003785/0.7886, allocations: 256.4 kB / 1.046 GB, free: 54.01 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.202e-05/0.7886, allocations: 73.08 kB / 1.046 GB, free: 53.94 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.7886, allocations: 2.562 kB / 1.046 GB, free: 53.94 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.7887, allocations: 0 / 1.046 GB, free: 53.94 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.305e-05/0.7887, allocations: 8.672 kB / 1.046 GB, free: 53.94 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.7887, allocations: 5.625 kB / 1.046 GB, free: 53.93 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003877/0.7891, allocations: 87.86 kB / 1.046 GB, free: 53.92 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.171e-05/0.7891, allocations: 12.11 kB / 1.046 GB, free: 53.92 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 8.422e-05/0.7892, allocations: 125 kB / 1.046 GB, free: 53.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.092e-05/0.7892, allocations: 4.906 kB / 1.046 GB, free: 53.79 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.79e-05/0.7893, allocations: 14.94 kB / 1.046 GB, free: 53.79 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.7893, allocations: 0 / 1.046 GB, free: 53.79 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.7893, allocations: 4 kB / 1.046 GB, free: 53.79 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.7893, allocations: 0 / 1.046 GB, free: 53.79 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001008/0.7894, allocations: 173.4 kB / 1.046 GB, free: 53.59 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.7894, allocations: 0 / 1.046 GB, free: 53.59 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.716e-06/0.7894, allocations: 7.266 kB / 1.046 GB, free: 53.58 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.7894, allocations: 1.031 kB / 1.046 GB, free: 53.58 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.208e-06/0.7894, allocations: 3.281 kB / 1.046 GB, free: 53.58 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.7895, allocations: 0 / 1.046 GB, free: 53.58 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.7895, allocations: 0 / 1.046 GB, free: 53.58 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001318/0.7896, allocations: 120 kB / 1.046 GB, free: 53.49 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.493e-05/0.7896, allocations: 82.33 kB / 1.046 GB, free: 53.39 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.766e-05/0.7897, allocations: 10.27 kB / 1.046 GB, free: 53.38 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.925e-05/0.7897, allocations: 2.781 kB / 1.046 GB, free: 53.38 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.7e-05/0.7897, allocations: 3.391 kB / 1.046 GB, free: 53.38 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.244e-06/0.7897, allocations: 4.203 kB / 1.046 GB, free: 53.38 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.633e-05/0.7898, allocations: 92.78 kB / 1.047 GB, free: 53.3 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7898, allocations: 0 / 1.047 GB, free: 53.3 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002245/0.79, allocations: 32.44 kB / 1.047 GB, free: 53.3 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.0001582/0.7902, allocations: 113.9 kB / 1.047 GB, free: 53.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003302/0.7905, allocations: 248.2 kB / 1.047 GB, free: 53.02 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.7905, allocations: 0 / 1.047 GB, free: 53.02 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.828e-05/0.7906, allocations: 23.36 kB / 1.047 GB, free: 53.02 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002181/0.7908, allocations: 15.75 kB / 1.047 GB, free: 53.02 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003434/0.7912, allocations: 178.3 kB / 1.047 GB, free: 52.88 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001609/0.7913, allocations: 0.6878 MB / 1.048 GB, free: 52.18 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.924e-05/0.7914, allocations: 9.609 kB / 1.048 GB, free: 52.18 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.747e-05/0.7914, allocations: 13.34 kB / 1.048 GB, free: 52.16 MB / 0.698 GB Notification: Performance of SimCode: time 2.2e-07/0.7914, allocations: 4 kB / 1.048 GB, free: 52.16 MB / 0.698 GB Notification: Performance of Templates: time 0.00433/0.7957, allocations: 1.743 MB / 1.05 GB, free: 52 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1)