Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.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.UnitConversions.Validation.From_bar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.906/1.906, allocations: 306.1 MB / 321.4 MB, free: 10.75 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.001639/0.001639, allocations: 175.5 kB / 393.1 MB, free: 4.082 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.547/1.547, allocations: 225.7 MB / 0.6743 GB, free: 12.61 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.0008104/0.0008103, allocations: 94.61 kB / 0.7935 GB, free: 40.15 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003864/0.0003868, allocations: 12 kB / 0.9224 GB, free: 8.633 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7584/0.7588, allocations: 121.3 MB / 1.041 GB, free: 59.03 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.001501/0.7604, allocations: 0.5281 MB / 1.041 GB, free: 58.72 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0001993/0.7606, allocations: 42.3 kB / 1.041 GB, free: 58.69 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.018e-05/0.7607, allocations: 0.9375 kB / 1.041 GB, free: 58.69 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.44e-05/0.7608, allocations: 5.25 kB / 1.041 GB, free: 58.68 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.000125/0.7609, allocations: 8.953 kB / 1.041 GB, free: 58.68 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 6.607e-05/0.761, allocations: 18.03 kB / 1.041 GB, free: 58.67 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001355/0.7611, allocations: 53.89 kB / 1.042 GB, free: 58.64 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002104/0.7613, allocations: 37.06 kB / 1.042 GB, free: 58.63 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 7.877e-05/0.7614, allocations: 19.98 kB / 1.042 GB, free: 58.62 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.094e-05/0.7615, allocations: 27.33 kB / 1.042 GB, free: 58.6 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.171e-05/0.7615, allocations: 1.781 kB / 1.042 GB, free: 58.6 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.183e-05/0.7615, allocations: 4.75 kB / 1.042 GB, free: 58.6 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.267e-05/0.7616, allocations: 7.984 kB / 1.042 GB, free: 58.59 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 7.779e-05/0.7617, allocations: 52.23 kB / 1.042 GB, free: 58.54 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002048/0.7619, allocations: 63.12 kB / 1.042 GB, free: 58.52 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.08e-05/0.7619, allocations: 1.25 kB / 1.042 GB, free: 58.52 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.445e-06/0.7619, allocations: 3.938 kB / 1.042 GB, free: 58.52 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.416e-06/0.7619, allocations: 0 / 1.042 GB, free: 58.52 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005275/0.7625, allocations: 372.6 kB / 1.042 GB, free: 58.14 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.766e-05/0.7625, allocations: 7.719 kB / 1.042 GB, free: 58.14 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.313e-05/0.7626, allocations: 15.44 kB / 1.042 GB, free: 58.13 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002617/0.7629, allocations: 190.9 kB / 1.042 GB, free: 57.92 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.135e-05/0.7629, allocations: 8.906 kB / 1.042 GB, free: 57.91 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.671e-05/0.7629, allocations: 4.344 kB / 1.042 GB, free: 57.91 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002034/0.7632, allocations: 99.66 kB / 1.042 GB, free: 57.84 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.7632, allocations: 192 / 1.042 GB, free: 57.84 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/0.7632, allocations: 6.188 kB / 1.042 GB, free: 57.84 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.7632, allocations: 4.531 kB / 1.042 GB, free: 57.84 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001036/0.7633, allocations: 36.19 kB / 1.042 GB, free: 57.82 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007198/0.7641, allocations: 437.5 kB / 1.043 GB, free: 57.42 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.218e-05/0.7641, allocations: 43.34 kB / 1.043 GB, free: 57.37 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.523e-05/0.7642, allocations: 21.19 kB / 1.043 GB, free: 57.35 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.074e-05/0.7642, allocations: 2.438 kB / 1.043 GB, free: 57.35 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/0.7642, allocations: 35.44 kB / 1.043 GB, free: 57.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 2.194e-06/0.7643, allocations: 1.375 kB / 1.043 GB, free: 57.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0002515/0.7645, allocations: 61.41 kB / 1.043 GB, free: 57.26 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.252e-05/0.7646, allocations: 77.11 kB / 1.043 GB, free: 57.16 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001703/0.7647, allocations: 156.4 kB / 1.043 GB, free: 57.05 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.7648, allocations: 29.23 kB / 1.043 GB, free: 57.02 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.167e-05/0.7649, allocations: 105.7 kB / 1.043 GB, free: 56.92 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.197e-05/0.7649, allocations: 8.594 kB / 1.043 GB, free: 56.91 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.25e-06/0.7649, allocations: 4 kB / 1.043 GB, free: 56.91 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.765, allocations: 320.7 kB / 1.044 GB, free: 56.59 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.764e-05/0.7651, allocations: 5.172 kB / 1.044 GB, free: 56.59 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.129e-05/0.7651, allocations: 18.48 kB / 1.044 GB, free: 56.57 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.193e-05/0.7652, allocations: 26.11 kB / 1.044 GB, free: 56.55 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.7652, allocations: 3.906 kB / 1.044 GB, free: 56.55 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001107/0.7653, allocations: 57.89 kB / 1.044 GB, free: 56.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.504e-05/0.7653, allocations: 12.59 kB / 1.044 GB, free: 56.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.7653, allocations: 7.938 kB / 1.044 GB, free: 56.49 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.07e-05/0.7654, allocations: 0 / 1.044 GB, free: 56.49 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.369e-05/0.7655, allocations: 9.281 kB / 1.044 GB, free: 56.49 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/0.7655, allocations: 1.031 kB / 1.044 GB, free: 56.49 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.584e-05/0.7655, allocations: 5.406 kB / 1.044 GB, free: 56.49 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.7655, allocations: 320 / 1.044 GB, free: 56.49 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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.14e-05/0.7656, allocations: 117.7 kB / 1.044 GB, free: 56.37 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.176e-05/0.7657, allocations: 12.31 kB / 1.044 GB, free: 56.36 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.28e-05/0.7658, allocations: 12.78 kB / 1.044 GB, free: 56.36 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.7658, allocations: 3.938 kB / 1.044 GB, free: 56.36 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.7658, allocations: 0 / 1.044 GB, free: 56.36 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.7658, allocations: 2.859 kB / 1.044 GB, free: 56.36 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000401/0.7662, allocations: 472.6 kB / 1.044 GB, free: 55.87 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.7662, allocations: 0 / 1.044 GB, free: 55.87 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.934e-05/0.7663, allocations: 6.266 kB / 1.044 GB, free: 55.87 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.7663, allocations: 0 / 1.044 GB, free: 55.87 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.7663, allocations: 0 / 1.044 GB, free: 55.87 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.7663, allocations: 3.5 kB / 1.044 GB, free: 55.87 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.7663, allocations: 0 / 1.044 GB, free: 55.87 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.884e-05/0.7664, allocations: 85.5 kB / 1.045 GB, free: 55.78 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.636e-05/0.7665, allocations: 90 kB / 1.045 GB, free: 55.68 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.699e-05/0.7665, allocations: 0 / 1.045 GB, free: 55.68 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.213e-05/0.7665, allocations: 0 / 1.045 GB, free: 55.68 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.831e-05/0.7665, allocations: 6.469 kB / 1.045 GB, free: 55.67 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-06/0.7666, allocations: 1.281 kB / 1.045 GB, free: 55.67 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001386/0.7667, allocations: 124.7 kB / 1.045 GB, free: 55.58 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.91e-07/0.7667, allocations: 3.938 kB / 1.045 GB, free: 55.58 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002287/0.7669, allocations: 7.719 kB / 1.045 GB, free: 55.58 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001601/0.7671, allocations: 105.4 kB / 1.045 GB, free: 55.49 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001061/0.7672, allocations: 18.31 kB / 1.045 GB, free: 55.48 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.7672, allocations: 0.9062 kB / 1.045 GB, free: 55.48 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.349e-05/0.7673, allocations: 7.688 kB / 1.045 GB, free: 55.48 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000196/0.7675, allocations: 12.84 kB / 1.045 GB, free: 55.47 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004254/0.7679, allocations: 190.8 kB / 1.045 GB, free: 55.29 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002091/0.7681, allocations: 0.6909 MB / 1.046 GB, free: 54.59 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.567e-05/0.7682, allocations: 11.61 kB / 1.046 GB, free: 54.59 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.378e-05/0.7682, allocations: 12.62 kB / 1.046 GB, free: 54.58 MB / 0.698 GB Notification: Performance of SimCode: time 1.373e-06/0.7682, allocations: 0 / 1.046 GB, free: 54.58 MB / 0.698 GB Notification: Performance of Templates: time 0.003302/0.7715, allocations: 432 kB / 1.046 GB, free: 54.51 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1)