Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.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.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.869/1.869, allocations: 306.1 MB / 321.4 MB, free: 10.73 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.001242/0.001242, allocations: 175.5 kB / 393.1 MB, free: 4.07 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.587/1.587, allocations: 225.7 MB / 0.6743 GB, free: 12.58 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.0008506/0.0008504, allocations: 99.03 kB / 0.7935 GB, free: 40.03 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003995/0.0003995, allocations: 12 kB / 0.9224 GB, free: 8.652 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.85/0.8504, allocations: 121.3 MB / 1.041 GB, free: 58.27 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.0009248/0.8514, allocations: 331.4 kB / 1.041 GB, free: 58.13 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001567/0.853, allocations: 1.247 MB / 1.042 GB, free: 57.14 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.836e-05/0.853, allocations: 3.938 kB / 1.042 GB, free: 57.14 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.67e-05/0.8531, allocations: 3.938 kB / 1.042 GB, free: 57.14 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.354e-05/0.8532, allocations: 2.75 kB / 1.042 GB, free: 57.14 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.000479/0.8536, allocations: 113.7 kB / 1.043 GB, free: 57.08 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001318/0.8538, allocations: 77.66 kB / 1.043 GB, free: 57.05 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.314e-05/0.8539, allocations: 4.406 kB / 1.043 GB, free: 57.05 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 6.817e-05/0.854, allocations: 30.28 kB / 1.043 GB, free: 57.05 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 8.048e-05/0.854, allocations: 27.88 kB / 1.043 GB, free: 57.04 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.966e-05/0.8541, allocations: 1.938 kB / 1.043 GB, free: 57.04 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 7.179e-05/0.8541, allocations: 18.94 kB / 1.043 GB, free: 57.03 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.042e-05/0.8542, allocations: 2.906 kB / 1.043 GB, free: 57.03 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 6.946e-05/0.8542, allocations: 56.95 kB / 1.043 GB, free: 56.98 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001757/0.8544, allocations: 75.73 kB / 1.043 GB, free: 56.96 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.8544, allocations: 0.5312 kB / 1.043 GB, free: 56.96 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.774e-06/0.8545, allocations: 1 kB / 1.043 GB, free: 56.96 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.8545, allocations: 1.219 kB / 1.043 GB, free: 56.96 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.0004534/0.8549, allocations: 359.6 kB / 1.043 GB, free: 56.57 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.855, allocations: 11.38 kB / 1.043 GB, free: 56.57 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.407e-05/0.855, allocations: 6.531 kB / 1.043 GB, free: 56.57 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/0.8552, allocations: 168.2 kB / 1.043 GB, free: 56.37 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.627e-05/0.8552, allocations: 8.312 kB / 1.043 GB, free: 56.37 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.337e-05/0.8552, allocations: 2.5 kB / 1.043 GB, free: 56.37 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001101/0.8553, allocations: 39.11 kB / 1.043 GB, free: 56.34 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.8554, allocations: 192 / 1.043 GB, free: 56.34 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.8554, allocations: 6.172 kB / 1.043 GB, free: 56.33 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.8554, allocations: 0 / 1.043 GB, free: 56.33 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.746e-05/0.8554, allocations: 11.25 kB / 1.043 GB, free: 56.33 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004346/0.8559, allocations: 286.6 kB / 1.044 GB, free: 56.05 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.767e-05/0.8559, allocations: 26.45 kB / 1.044 GB, free: 56.01 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.765e-05/0.856, allocations: 10.23 kB / 1.044 GB, free: 56 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.833e-06/0.856, allocations: 0.8125 kB / 1.044 GB, free: 56 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001831/0.8562, allocations: 61.84 kB / 1.044 GB, free: 55.95 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.353e-06/0.8562, allocations: 0 / 1.044 GB, free: 55.95 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0001868/0.8564, allocations: 65.2 kB / 1.044 GB, free: 55.91 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.904e-05/0.8564, allocations: 53.53 kB / 1.044 GB, free: 55.84 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.199e-05/0.8565, allocations: 111.3 kB / 1.044 GB, free: 55.74 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.8565, allocations: 28.98 kB / 1.044 GB, free: 55.71 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.638e-05/0.8566, allocations: 87.66 kB / 1.044 GB, free: 55.62 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.628e-06/0.8566, allocations: 3.625 kB / 1.044 GB, free: 55.62 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.01e-05/0.8566, allocations: 0 / 1.044 GB, free: 55.62 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.502e-05/0.8567, allocations: 319.7 kB / 1.044 GB, free: 55.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.005e-05/0.8567, allocations: 29.91 kB / 1.044 GB, free: 55.29 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.455e-05/0.8568, allocations: 51.02 kB / 1.044 GB, free: 55.26 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.614e-05/0.8569, allocations: 78.14 kB / 1.045 GB, free: 55.19 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.8569, allocations: 3.938 kB / 1.045 GB, free: 55.19 MB / 0.698 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000235/0.8572, allocations: 146.3 kB / 1.045 GB, free: 55.09 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.24e-05/0.8572, allocations: 41.61 kB / 1.045 GB, free: 55.06 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.8572, allocations: 3 kB / 1.045 GB, free: 55.06 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.8573, allocations: 0 / 1.045 GB, free: 55.06 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.146e-05/0.8573, allocations: 5 kB / 1.045 GB, free: 55.05 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.345e-06/0.8573, allocations: 2.875 kB / 1.045 GB, free: 55.05 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002459/0.8576, allocations: 38.91 kB / 1.045 GB, free: 55.05 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.306e-05/0.8576, allocations: 7.75 kB / 1.045 GB, free: 55.05 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 7.173e-05/0.8577, allocations: 114.9 kB / 1.045 GB, free: 54.93 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.858e-06/0.8577, allocations: 4.188 kB / 1.045 GB, free: 54.93 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.419e-05/0.8577, allocations: 8.969 kB / 1.045 GB, free: 54.93 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.8577, allocations: 6.281 kB / 1.045 GB, free: 54.93 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.8577, allocations: 1.844 kB / 1.045 GB, free: 54.93 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.8577, allocations: 1.531 kB / 1.045 GB, free: 54.93 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.951e-05/0.8579, allocations: 159.1 kB / 1.045 GB, free: 54.73 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.8579, allocations: 4 kB / 1.045 GB, free: 54.73 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.211e-06/0.8579, allocations: 96 / 1.045 GB, free: 54.73 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.634e-06/0.8579, allocations: 4.719 kB / 1.045 GB, free: 54.72 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.8579, allocations: 3.328 kB / 1.045 GB, free: 54.72 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.8579, allocations: 3.938 kB / 1.045 GB, free: 54.72 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.8579, allocations: 0 / 1.045 GB, free: 54.72 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001004/0.858, allocations: 88.41 kB / 1.045 GB, free: 54.64 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.367e-05/0.8581, allocations: 77.92 kB / 1.045 GB, free: 54.54 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.333e-05/0.8581, allocations: 2.172 kB / 1.045 GB, free: 54.54 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.586e-05/0.8581, allocations: 2.469 kB / 1.045 GB, free: 54.54 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.415e-05/0.8581, allocations: 4.75 kB / 1.045 GB, free: 54.54 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.8581, allocations: 3.594 kB / 1.045 GB, free: 54.54 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.288e-05/0.8582, allocations: 86.02 kB / 1.045 GB, free: 54.46 MB / 0.698 GB Notification: Performance of sort global known variables: time 9e-08/0.8582, allocations: 0 / 1.045 GB, free: 54.46 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002157/0.8584, allocations: 18.97 kB / 1.045 GB, free: 54.46 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.0001363/0.8586, allocations: 121.2 kB / 1.045 GB, free: 54.36 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001915/0.8587, allocations: 116.2 kB / 1.046 GB, free: 54.27 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.8588, allocations: 4.188 kB / 1.046 GB, free: 54.27 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.773e-05/0.8588, allocations: 13.3 kB / 1.046 GB, free: 54.27 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000208/0.859, allocations: 13.5 kB / 1.046 GB, free: 54.26 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002547/0.8593, allocations: 130.7 kB / 1.046 GB, free: 54.14 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001122/0.8594, allocations: 0.6774 MB / 1.046 GB, free: 53.45 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.249e-05/0.8594, allocations: 10.47 kB / 1.046 GB, free: 53.44 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.369e-05/0.8594, allocations: 10.58 kB / 1.046 GB, free: 53.43 MB / 0.698 GB Notification: Performance of SimCode: time 4.8e-07/0.8595, allocations: 0 / 1.046 GB, free: 53.43 MB / 0.698 GB Notification: Performance of Templates: time 0.003336/0.8628, allocations: 1.015 MB / 1.047 GB, free: 53.33 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1)