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.Nand.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.Nand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nand") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nand") 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.792/1.792, 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.001032/0.001032, allocations: 178 kB / 382.3 MB, free: 14.83 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.652/1.652, allocations: 225.7 MB / 0.6617 GB, free: 7.23 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.001037/0.001037, allocations: 99.56 kB / 0.7789 GB, free: 46.86 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003777/0.0003777, allocations: 12 kB / 0.9059 GB, free: 4.887 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7762/0.7766, allocations: 119.2 MB / 1.022 GB, free: 57.89 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001203/0.7779, allocations: 394.7 kB / 1.023 GB, free: 57.74 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002121/0.78, allocations: 1.427 MB / 1.024 GB, free: 56.84 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.388e-05/0.7801, allocations: 7.375 kB / 1.024 GB, free: 56.84 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.844e-05/0.7801, allocations: 0 / 1.024 GB, free: 56.84 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 8.461e-05/0.7802, allocations: 9.516 kB / 1.024 GB, free: 56.83 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006423/0.7809, allocations: 194.5 kB / 1.024 GB, free: 56.78 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002117/0.7811, allocations: 149.6 kB / 1.024 GB, free: 56.73 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.7812, allocations: 12.52 kB / 1.024 GB, free: 56.73 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001238/0.7813, allocations: 63.92 kB / 1.024 GB, free: 56.71 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000124/0.7815, allocations: 42.69 kB / 1.025 GB, free: 56.7 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.316e-05/0.7815, allocations: 8.625 kB / 1.025 GB, free: 56.7 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 9.36e-05/0.7816, allocations: 23.05 kB / 1.025 GB, free: 56.69 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.173e-05/0.7817, allocations: 11.81 kB / 1.025 GB, free: 56.69 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001072/0.7818, allocations: 77.44 kB / 1.025 GB, free: 56.64 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003167/0.7821, allocations: 139.8 kB / 1.025 GB, free: 56.61 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.7821, allocations: 0 / 1.025 GB, free: 56.61 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.456e-06/0.7821, allocations: 1 kB / 1.025 GB, free: 56.61 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.7821, allocations: 1.125 kB / 1.025 GB, free: 56.61 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.0004318/0.7826, allocations: 407.4 kB / 1.025 GB, free: 56.18 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.7826, allocations: 10.34 kB / 1.025 GB, free: 56.18 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.091e-05/0.7827, allocations: 12.8 kB / 1.025 GB, free: 56.17 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.794e-05/0.7828, allocations: 173.7 kB / 1.025 GB, free: 55.97 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.784e-05/0.7828, allocations: 7.078 kB / 1.025 GB, free: 55.97 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.468e-05/0.7829, allocations: 9.531 kB / 1.025 GB, free: 55.97 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001293/0.783, allocations: 55.38 kB / 1.025 GB, free: 55.93 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.783, allocations: 192 / 1.025 GB, free: 55.93 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.783, allocations: 6.094 kB / 1.025 GB, free: 55.92 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.7831, allocations: 1.062 kB / 1.025 GB, free: 55.92 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.743e-05/0.7831, allocations: 12.92 kB / 1.025 GB, free: 55.92 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005348/0.7836, allocations: 350.1 kB / 1.026 GB, free: 55.62 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.798e-05/0.7838, allocations: 44.2 kB / 1.026 GB, free: 55.58 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.426e-05/0.7838, allocations: 19.48 kB / 1.026 GB, free: 55.57 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.398e-05/0.7838, allocations: 1.594 kB / 1.026 GB, free: 55.57 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002104/0.784, allocations: 82.67 kB / 1.026 GB, free: 55.51 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.7841, allocations: 0.9062 kB / 1.026 GB, free: 55.51 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0002935/0.7844, allocations: 107 kB / 1.026 GB, free: 55.45 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.204e-05/0.7844, allocations: 55.66 kB / 1.026 GB, free: 55.39 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.7845, allocations: 124.1 kB / 1.026 GB, free: 55.28 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.898e-05/0.7846, allocations: 31.64 kB / 1.026 GB, free: 55.25 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.851e-05/0.7846, allocations: 93.94 kB / 1.026 GB, free: 55.16 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.601e-05/0.7847, allocations: 11.34 kB / 1.026 GB, free: 55.15 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.756e-05/0.7847, allocations: 5.844 kB / 1.026 GB, free: 55.15 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.688e-05/0.7848, allocations: 322.4 kB / 1.027 GB, free: 54.83 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001424/0.7849, allocations: 59.5 kB / 1.027 GB, free: 54.81 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001456/0.7851, allocations: 94.84 kB / 1.027 GB, free: 54.75 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001747/0.7853, allocations: 155.5 kB / 1.027 GB, free: 54.62 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.7853, allocations: 0 / 1.027 GB, free: 54.62 MB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000431/0.7857, allocations: 266.1 kB / 1.027 GB, free: 54.46 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.046e-05/0.7858, allocations: 76.84 kB / 1.027 GB, free: 54.39 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.535e-06/0.7858, allocations: 1.156 kB / 1.027 GB, free: 54.39 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.7858, allocations: 2.156 kB / 1.027 GB, free: 54.39 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.832e-05/0.7859, allocations: 4.844 kB / 1.027 GB, free: 54.39 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/0.7859, allocations: 6.688 kB / 1.027 GB, free: 54.39 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004415/0.7863, allocations: 85.44 kB / 1.027 GB, free: 54.38 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.54e-05/0.7864, allocations: 12.8 kB / 1.027 GB, free: 54.38 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,nand1.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 9.652e-05/0.7865, allocations: 124.8 kB / 1.027 GB, free: 54.25 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.215e-05/0.7865, allocations: 1.312 kB / 1.027 GB, free: 54.25 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.932e-05/0.7865, allocations: 13.81 kB / 1.027 GB, free: 54.24 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.7865, allocations: 0.5625 kB / 1.027 GB, free: 54.24 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.7866, allocations: 9.156 kB / 1.027 GB, free: 54.23 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.7866, allocations: 3.141 kB / 1.027 GB, free: 54.23 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001153/0.7867, allocations: 175 kB / 1.028 GB, free: 54.04 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.7867, allocations: 0 / 1.028 GB, free: 54.04 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.709e-06/0.7867, allocations: 1.156 kB / 1.028 GB, free: 54.04 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.7867, allocations: 3.469 kB / 1.028 GB, free: 54.04 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.7867, allocations: 0 / 1.028 GB, free: 54.04 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.7867, allocations: 0 / 1.028 GB, free: 54.04 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.7867, allocations: 0 / 1.028 GB, free: 54.04 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001428/0.7869, allocations: 115.5 kB / 1.028 GB, free: 53.95 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.415e-05/0.7869, allocations: 82.42 kB / 1.028 GB, free: 53.85 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.562e-05/0.787, allocations: 4.828 kB / 1.028 GB, free: 53.85 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.218e-05/0.787, allocations: 5.375 kB / 1.028 GB, free: 53.84 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.275e-05/0.7871, allocations: 5.953 kB / 1.028 GB, free: 53.84 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.385e-05/0.7871, allocations: 8 kB / 1.028 GB, free: 53.84 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.487e-05/0.7872, allocations: 94.08 kB / 1.028 GB, free: 53.76 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7872, allocations: 0 / 1.028 GB, free: 53.76 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002676/0.7874, allocations: 33.53 kB / 1.028 GB, free: 53.75 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,nand1.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.0002471/0.7877, allocations: 109.9 kB / 1.028 GB, free: 53.66 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003775/0.7881, allocations: 245.6 kB / 1.028 GB, free: 53.49 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.7881, allocations: 4 kB / 1.028 GB, free: 53.48 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.917e-05/0.7881, allocations: 23.91 kB / 1.028 GB, free: 53.48 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002479/0.7884, allocations: 18.64 kB / 1.028 GB, free: 53.48 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003381/0.7887, allocations: 179 kB / 1.029 GB, free: 53.33 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001378/0.7889, allocations: 0.6849 MB / 1.029 GB, free: 52.63 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.842e-05/0.7889, allocations: 5.594 kB / 1.029 GB, free: 52.63 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.608e-05/0.7889, allocations: 11.38 kB / 1.029 GB, free: 52.62 MB / 0.698 GB Notification: Performance of SimCode: time 4.51e-07/0.789, allocations: 0 / 1.029 GB, free: 52.62 MB / 0.698 GB Notification: Performance of Templates: time 0.004671/0.7936, allocations: 1.757 MB / 1.031 GB, free: 52.48 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nand -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1)