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.Nor.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.Nor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.667/1.667, allocations: 291.7 MB / 306.8 MB, free: 7.707 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.001158/0.001158, allocations: 175 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.741/1.741, allocations: 225.7 MB / 0.6538 GB, free: 13.66 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.0008578/0.0008578, allocations: 96.47 kB / 0.7699 GB, free: 50.36 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.000413/0.000413, allocations: 12.94 kB / 0.8956 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8345/0.8349, allocations: 118.1 MB / 1.011 GB, free: 57.58 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001207/0.8362, allocations: 392.3 kB / 1.011 GB, free: 57.57 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001634/0.8379, allocations: 1.167 MB / 1.012 GB, free: 57.49 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.773e-05/0.8379, allocations: 3.625 kB / 1.012 GB, free: 57.49 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.41e-05/0.838, allocations: 0.9375 kB / 1.012 GB, free: 57.49 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.885e-05/0.8381, allocations: 7.906 kB / 1.012 GB, free: 57.48 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006174/0.8387, allocations: 195.2 kB / 1.013 GB, free: 57.47 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001473/0.8388, allocations: 140.8 kB / 1.013 GB, free: 57.46 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.839, allocations: 6.562 kB / 1.013 GB, free: 57.46 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 9.796e-05/0.8391, allocations: 61.84 kB / 1.013 GB, free: 57.46 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001095/0.8392, allocations: 49.75 kB / 1.013 GB, free: 57.45 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.506e-05/0.8392, allocations: 7.281 kB / 1.013 GB, free: 57.45 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 8.329e-05/0.8393, allocations: 18.56 kB / 1.013 GB, free: 57.45 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.256e-05/0.8393, allocations: 10.81 kB / 1.013 GB, free: 57.45 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 5.829e-05/0.8394, allocations: 40.33 kB / 1.013 GB, free: 57.42 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002188/0.8396, allocations: 97.97 kB / 1.013 GB, free: 57.42 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 8.977e-06/0.8396, allocations: 0 / 1.013 GB, free: 57.42 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.754e-06/0.8397, allocations: 3.875 kB / 1.013 GB, free: 57.42 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.8397, allocations: 0 / 1.013 GB, free: 57.42 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.0004566/0.8401, allocations: 413 kB / 1.013 GB, free: 56.99 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.8402, allocations: 8.438 kB / 1.013 GB, free: 56.99 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.965e-05/0.8403, allocations: 13.34 kB / 1.013 GB, free: 56.99 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000105/0.8404, allocations: 170 kB / 1.014 GB, free: 56.79 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.319e-05/0.8404, allocations: 14.09 kB / 1.014 GB, free: 56.79 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.564e-05/0.8405, allocations: 12.33 kB / 1.014 GB, free: 56.79 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/0.8406, allocations: 41.05 kB / 1.014 GB, free: 56.76 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.8406, allocations: 6.375 kB / 1.014 GB, free: 56.75 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.8406, allocations: 11.02 kB / 1.014 GB, free: 56.75 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.8406, allocations: 1.156 kB / 1.014 GB, free: 56.75 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.071e-05/0.8407, allocations: 13.25 kB / 1.014 GB, free: 56.75 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004761/0.8412, allocations: 351.8 kB / 1.014 GB, free: 56.48 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.524e-05/0.8412, allocations: 44.28 kB / 1.014 GB, free: 56.45 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.647e-05/0.8413, allocations: 14.55 kB / 1.014 GB, free: 56.45 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.204e-05/0.8413, allocations: 4.656 kB / 1.014 GB, free: 56.44 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001713/0.8415, allocations: 82.75 kB / 1.014 GB, free: 56.39 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.483e-06/0.8415, allocations: 0 / 1.014 GB, free: 56.39 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002667/0.8418, allocations: 101.8 kB / 1.014 GB, free: 56.36 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.369e-05/0.8418, allocations: 60.33 kB / 1.014 GB, free: 56.29 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.597e-05/0.8419, allocations: 112.7 kB / 1.014 GB, free: 56.2 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.459e-05/0.8419, allocations: 35.42 kB / 1.014 GB, free: 56.16 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.734e-05/0.842, allocations: 92.34 kB / 1.015 GB, free: 56.08 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.385e-05/0.842, allocations: 11.92 kB / 1.015 GB, free: 56.07 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.6e-05/0.842, allocations: 5.906 kB / 1.015 GB, free: 56.07 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.207e-05/0.8421, allocations: 324.5 kB / 1.015 GB, free: 55.76 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/0.8422, allocations: 61.67 kB / 1.015 GB, free: 55.76 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000132/0.8423, allocations: 88.61 kB / 1.015 GB, free: 55.72 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001651/0.8425, allocations: 157.4 kB / 1.015 GB, free: 55.61 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.8425, allocations: 1.312 kB / 1.015 GB, free: 55.61 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003715/0.8429, allocations: 263.8 kB / 1.015 GB, free: 55.51 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.213e-05/0.843, allocations: 66.33 kB / 1.016 GB, free: 55.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.843, allocations: 1.344 kB / 1.016 GB, free: 55.45 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.843, allocations: 1.375 kB / 1.016 GB, free: 55.45 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.273e-05/0.843, allocations: 8.594 kB / 1.016 GB, free: 55.44 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.843, allocations: 1.438 kB / 1.016 GB, free: 55.44 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003998/0.8435, allocations: 84.16 kB / 1.016 GB, free: 55.43 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.19e-05/0.8435, allocations: 16.3 kB / 1.016 GB, free: 55.43 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,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001111/0.8436, allocations: 126.9 kB / 1.016 GB, free: 55.32 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.157e-05/0.8436, allocations: 3.719 kB / 1.016 GB, free: 55.32 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.787e-05/0.8437, allocations: 7.938 kB / 1.016 GB, free: 55.31 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.8437, allocations: 3.016 kB / 1.016 GB, free: 55.31 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.8437, allocations: 0 / 1.016 GB, free: 55.31 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.8437, allocations: 3.281 kB / 1.016 GB, free: 55.31 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001092/0.8438, allocations: 178.4 kB / 1.016 GB, free: 55.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.8438, allocations: 0 / 1.016 GB, free: 55.12 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.156e-05/0.8438, allocations: 8.781 kB / 1.016 GB, free: 55.12 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.8438, allocations: 1.5 kB / 1.016 GB, free: 55.12 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.8439, allocations: 3.938 kB / 1.016 GB, free: 55.11 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.8439, allocations: 1.688 kB / 1.016 GB, free: 55.11 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.8439, allocations: 3.156 kB / 1.016 GB, free: 55.11 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001425/0.844, allocations: 117.5 kB / 1.016 GB, free: 55.04 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.054e-05/0.8441, allocations: 81.91 kB / 1.016 GB, free: 54.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.242e-05/0.8441, allocations: 8.219 kB / 1.016 GB, free: 54.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.932e-05/0.8441, allocations: 0 / 1.016 GB, free: 54.95 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.636e-05/0.8442, allocations: 6.625 kB / 1.016 GB, free: 54.95 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.624e-06/0.8442, allocations: 3.594 kB / 1.016 GB, free: 54.95 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.733e-05/0.8442, allocations: 90.14 kB / 1.016 GB, free: 54.87 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8442, allocations: 1.312 kB / 1.016 GB, free: 54.87 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002235/0.8445, allocations: 32.84 kB / 1.016 GB, free: 54.87 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,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 (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.0001512/0.8446, allocations: 119.4 kB / 1.016 GB, free: 54.78 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003254/0.845, allocations: 242.5 kB / 1.017 GB, free: 54.64 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.845, allocations: 1.812 kB / 1.017 GB, free: 54.64 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.598e-05/0.845, allocations: 26.55 kB / 1.017 GB, free: 54.64 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002317/0.8453, allocations: 18 kB / 1.017 GB, free: 54.64 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003438/0.8456, allocations: 166 kB / 1.017 GB, free: 54.52 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001545/0.8458, allocations: 0.6906 MB / 1.017 GB, free: 53.83 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.802e-05/0.8458, allocations: 7.906 kB / 1.017 GB, free: 53.82 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.935e-05/0.8459, allocations: 9.844 kB / 1.018 GB, free: 53.82 MB / 0.7136 GB Notification: Performance of SimCode: time 5.71e-07/0.8459, allocations: 1.125 kB / 1.018 GB, free: 53.82 MB / 0.7136 GB Notification: Performance of Templates: time 0.004088/0.85, allocations: 1.699 MB / 1.019 GB, free: 53.73 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1)