Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.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.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert") 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.816/1.816, allocations: 297.4 MB / 312.6 MB, free: 2.93 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.001746/0.001746, allocations: 189.2 kB / 382.3 MB, free: 14.82 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.635/1.635, allocations: 225.7 MB / 0.6617 GB, free: 7.215 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.001079/0.001079, allocations: 93.19 kB / 0.7789 GB, free: 46.94 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0005858/0.000586, allocations: 9.219 kB / 0.9059 GB, free: 4.918 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8241/0.8247, allocations: 119.2 MB / 1.022 GB, free: 58.12 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.0008156/0.8255, allocations: 328.9 kB / 1.023 GB, free: 58 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001516/0.8271, allocations: 1.257 MB / 1.024 GB, free: 57.25 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.444e-05/0.8271, allocations: 3.938 kB / 1.024 GB, free: 57.25 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.725e-05/0.8271, allocations: 6.062 kB / 1.024 GB, free: 57.24 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.335e-05/0.8272, allocations: 2.219 kB / 1.024 GB, free: 57.24 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004447/0.8277, allocations: 113 kB / 1.024 GB, free: 57.21 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 9.551e-05/0.8278, allocations: 70.05 kB / 1.024 GB, free: 57.19 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.72e-05/0.8279, allocations: 8.031 kB / 1.024 GB, free: 57.18 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 6.589e-05/0.8279, allocations: 30.25 kB / 1.024 GB, free: 57.18 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.615e-05/0.828, allocations: 22.48 kB / 1.024 GB, free: 57.17 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.958e-05/0.828, allocations: 6.719 kB / 1.024 GB, free: 57.17 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 6.637e-05/0.8281, allocations: 20.89 kB / 1.024 GB, free: 57.16 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.671e-05/0.8281, allocations: 2.969 kB / 1.024 GB, free: 57.16 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 6.284e-05/0.8282, allocations: 57.95 kB / 1.024 GB, free: 57.12 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001552/0.8284, allocations: 78.66 kB / 1.024 GB, free: 57.1 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.8284, allocations: 0 / 1.024 GB, free: 57.1 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.703e-06/0.8284, allocations: 0 / 1.024 GB, free: 57.1 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.058e-06/0.8284, allocations: 0 / 1.024 GB, free: 57.1 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003417/0.8287, allocations: 362.2 kB / 1.025 GB, free: 56.71 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.8288, allocations: 9.406 kB / 1.025 GB, free: 56.71 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.432e-05/0.8288, allocations: 5.719 kB / 1.025 GB, free: 56.71 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.026e-05/0.8289, allocations: 169.3 kB / 1.025 GB, free: 56.51 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.8289, allocations: 384 / 1.025 GB, free: 56.51 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.585e-05/0.829, allocations: 6.438 kB / 1.025 GB, free: 56.51 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.069e-05/0.8291, allocations: 39.11 kB / 1.025 GB, free: 56.48 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.8291, allocations: 0.9375 kB / 1.025 GB, free: 56.48 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.8291, allocations: 4.438 kB / 1.025 GB, free: 56.47 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.8291, allocations: 1.406 kB / 1.025 GB, free: 56.47 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.416e-05/0.8291, allocations: 9.875 kB / 1.025 GB, free: 56.47 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003355/0.8295, allocations: 291.4 kB / 1.025 GB, free: 56.18 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.027e-05/0.8295, allocations: 29.61 kB / 1.025 GB, free: 56.15 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.826e-05/0.8296, allocations: 7.75 kB / 1.025 GB, free: 56.14 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.574e-06/0.8296, allocations: 3.938 kB / 1.025 GB, free: 56.14 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001409/0.8297, allocations: 63.2 kB / 1.025 GB, free: 56.09 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.243e-06/0.8297, allocations: 3.938 kB / 1.025 GB, free: 56.08 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0001704/0.8299, allocations: 62.45 kB / 1.025 GB, free: 56.04 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.631e-05/0.83, allocations: 53.36 kB / 1.025 GB, free: 55.98 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.211e-05/0.83, allocations: 107.2 kB / 1.025 GB, free: 55.88 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.83, allocations: 28.17 kB / 1.025 GB, free: 55.85 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.434e-05/0.8301, allocations: 88.06 kB / 1.026 GB, free: 55.76 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.007e-06/0.8301, allocations: 6.062 kB / 1.026 GB, free: 55.76 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.029e-05/0.8301, allocations: 2.031 kB / 1.026 GB, free: 55.76 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.254e-05/0.8302, allocations: 317.1 kB / 1.026 GB, free: 55.44 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.234e-05/0.8303, allocations: 31.92 kB / 1.026 GB, free: 55.43 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.449e-05/0.8303, allocations: 47.41 kB / 1.026 GB, free: 55.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.408e-05/0.8304, allocations: 79.62 kB / 1.026 GB, free: 55.33 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.8304, allocations: 4.719 kB / 1.026 GB, free: 55.32 MB / 0.698 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002297/0.8307, allocations: 148 kB / 1.026 GB, free: 55.23 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.242e-05/0.8307, allocations: 42.97 kB / 1.026 GB, free: 55.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.8307, allocations: 0 / 1.026 GB, free: 55.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.8308, allocations: 3.938 kB / 1.026 GB, free: 55.19 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.556e-05/0.8308, allocations: 2.688 kB / 1.026 GB, free: 55.19 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.8308, allocations: 2.734 kB / 1.026 GB, free: 55.19 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002355/0.831, allocations: 38.56 kB / 1.026 GB, free: 55.19 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.255e-05/0.8311, allocations: 11.11 kB / 1.026 GB, free: 55.19 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($PRE.booPul.y,booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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 6.671e-05/0.8311, allocations: 116.8 kB / 1.026 GB, free: 55.07 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.011e-05/0.8312, allocations: 2.594 kB / 1.026 GB, free: 55.07 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.304e-05/0.8312, allocations: 10.39 kB / 1.026 GB, free: 55.06 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.8312, allocations: 1.344 kB / 1.026 GB, free: 55.06 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.8312, allocations: 0 / 1.026 GB, free: 55.06 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.8312, allocations: 3.703 kB / 1.026 GB, free: 55.06 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.79e-05/0.8313, allocations: 165.4 kB / 1.026 GB, free: 54.87 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.8313, allocations: 4.094 kB / 1.027 GB, free: 54.86 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.364e-06/0.8313, allocations: 1.531 kB / 1.027 GB, free: 54.86 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.8313, allocations: 0.7969 kB / 1.027 GB, free: 54.86 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/0.8313, allocations: 1.156 kB / 1.027 GB, free: 54.86 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.8313, allocations: 0.6562 kB / 1.027 GB, free: 54.86 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.8313, allocations: 0 / 1.027 GB, free: 54.86 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.674e-05/0.8314, allocations: 91.92 kB / 1.027 GB, free: 54.78 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.095e-05/0.8315, allocations: 80.11 kB / 1.027 GB, free: 54.68 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.265e-05/0.8315, allocations: 4.656 kB / 1.027 GB, free: 54.68 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.636e-05/0.8315, allocations: 3.141 kB / 1.027 GB, free: 54.68 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.724e-05/0.8315, allocations: 3.375 kB / 1.027 GB, free: 54.68 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.8316, allocations: 3.609 kB / 1.027 GB, free: 54.68 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.624e-05/0.8316, allocations: 83.73 kB / 1.027 GB, free: 54.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8316, allocations: 2.469 kB / 1.027 GB, free: 54.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000206/0.8318, allocations: 17.88 kB / 1.027 GB, free: 54.6 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001169/0.8319, allocations: 106.6 kB / 1.027 GB, free: 54.51 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001734/0.8321, allocations: 129.7 kB / 1.027 GB, free: 54.41 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.8321, allocations: 0 / 1.027 GB, free: 54.41 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.638e-05/0.8322, allocations: 11.12 kB / 1.027 GB, free: 54.41 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001867/0.8324, allocations: 13.45 kB / 1.027 GB, free: 54.41 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002366/0.8326, allocations: 126.7 kB / 1.027 GB, free: 54.29 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001191/0.8327, allocations: 0.6814 MB / 1.028 GB, free: 53.59 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.88e-05/0.8328, allocations: 1.547 kB / 1.028 GB, free: 53.59 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.375e-05/0.8328, allocations: 10.97 kB / 1.028 GB, free: 53.59 MB / 0.698 GB Notification: Performance of SimCode: time 3.31e-07/0.8328, allocations: 3.938 kB / 1.028 GB, free: 53.58 MB / 0.698 GB Notification: Performance of Templates: time 0.003235/0.836, allocations: 1.02 MB / 1.029 GB, free: 53.48 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1)