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_inH2O.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_inH2O,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.88/1.88, allocations: 306.1 MB / 321.4 MB, free: 10.71 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.00115/0.00115, allocations: 187.5 kB / 393.1 MB, free: 4.051 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.709/1.709, allocations: 225.7 MB / 0.6743 GB, free: 12.59 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.000886/0.0008861, allocations: 101.7 kB / 0.7935 GB, free: 39.93 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004072/0.0004073, allocations: 12 kB / 0.9224 GB, free: 8.688 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7624/0.7628, allocations: 121.3 MB / 1.041 GB, free: 57.97 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.00111/0.764, allocations: 0.5258 MB / 1.041 GB, free: 57.7 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0001058/0.7641, allocations: 38.81 kB / 1.041 GB, free: 57.66 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.955e-05/0.7641, allocations: 7.438 kB / 1.041 GB, free: 57.66 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.449e-05/0.7642, allocations: 6.891 kB / 1.041 GB, free: 57.66 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 9.032e-05/0.7643, allocations: 4.5 kB / 1.041 GB, free: 57.65 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 4.868e-05/0.7643, allocations: 22.67 kB / 1.041 GB, free: 57.64 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 9.45e-05/0.7644, allocations: 52.81 kB / 1.042 GB, free: 57.62 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001503/0.7646, allocations: 33.95 kB / 1.042 GB, free: 57.61 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 4.616e-05/0.7646, allocations: 22 kB / 1.042 GB, free: 57.59 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.172e-05/0.7647, allocations: 23.08 kB / 1.042 GB, free: 57.58 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.92e-05/0.7647, allocations: 0 / 1.042 GB, free: 57.58 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 7.404e-06/0.7647, allocations: 3.562 kB / 1.042 GB, free: 57.58 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.803e-05/0.7648, allocations: 9.281 kB / 1.042 GB, free: 57.57 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.852e-05/0.7648, allocations: 55.69 kB / 1.042 GB, free: 57.52 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 9.957e-05/0.7649, allocations: 59.72 kB / 1.042 GB, free: 57.5 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/0.7649, allocations: 5.312 kB / 1.042 GB, free: 57.5 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.894e-06/0.7649, allocations: 0 / 1.042 GB, free: 57.5 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.765, allocations: 1.156 kB / 1.042 GB, free: 57.5 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.000414/0.7654, allocations: 367.4 kB / 1.042 GB, free: 57.11 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.7654, allocations: 9.625 kB / 1.042 GB, free: 57.11 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.287e-05/0.7655, allocations: 12.88 kB / 1.042 GB, free: 57.11 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001733/0.7656, allocations: 191.5 kB / 1.042 GB, free: 56.9 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.7657, allocations: 11.06 kB / 1.042 GB, free: 56.89 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.546e-05/0.7657, allocations: 5.875 kB / 1.042 GB, free: 56.89 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.7659, allocations: 95.98 kB / 1.042 GB, free: 56.82 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.7659, allocations: 1.594 kB / 1.042 GB, free: 56.82 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.7659, allocations: 5.312 kB / 1.042 GB, free: 56.82 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.7659, allocations: 1.375 kB / 1.042 GB, free: 56.82 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.528e-05/0.766, allocations: 40.28 kB / 1.042 GB, free: 56.8 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005186/0.7665, allocations: 438.6 kB / 1.043 GB, free: 56.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.697e-05/0.7666, allocations: 43 kB / 1.043 GB, free: 56.34 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.134e-05/0.7666, allocations: 20.22 kB / 1.043 GB, free: 56.32 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.304e-06/0.7666, allocations: 2.062 kB / 1.043 GB, free: 56.32 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/0.7666, allocations: 36.03 kB / 1.043 GB, free: 56.29 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 2.585e-06/0.7667, allocations: 0.9375 kB / 1.043 GB, free: 56.29 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001716/0.7668, allocations: 56.17 kB / 1.043 GB, free: 56.24 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.124e-05/0.7669, allocations: 78.67 kB / 1.043 GB, free: 56.14 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.767, allocations: 156.3 kB / 1.043 GB, free: 56.03 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.806e-06/0.767, allocations: 26.48 kB / 1.043 GB, free: 56 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.814e-05/0.7671, allocations: 106.2 kB / 1.043 GB, free: 55.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.226e-06/0.7671, allocations: 5.188 kB / 1.043 GB, free: 55.89 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-06/0.7671, allocations: 8.75 kB / 1.043 GB, free: 55.89 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.735e-05/0.7672, allocations: 317.1 kB / 1.044 GB, free: 55.57 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.513e-05/0.7672, allocations: 6.594 kB / 1.044 GB, free: 55.57 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.476e-05/0.7672, allocations: 26.39 kB / 1.044 GB, free: 55.55 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.769e-05/0.7673, allocations: 23.78 kB / 1.044 GB, free: 55.53 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.7673, allocations: 2.219 kB / 1.044 GB, free: 55.53 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.185e-05/0.7674, allocations: 64.72 kB / 1.044 GB, free: 55.48 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.7674, allocations: 5.031 kB / 1.044 GB, free: 55.48 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.7674, allocations: 5.562 kB / 1.044 GB, free: 55.47 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.7674, allocations: 0.5625 kB / 1.044 GB, free: 55.47 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.186e-05/0.7675, allocations: 9.922 kB / 1.044 GB, free: 55.47 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.7675, allocations: 1.469 kB / 1.044 GB, free: 55.47 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.742e-05/0.7675, allocations: 5.875 kB / 1.044 GB, free: 55.47 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.049e-06/0.7675, allocations: 1.281 kB / 1.044 GB, free: 55.47 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 5.566e-05/0.7676, allocations: 117.8 kB / 1.044 GB, free: 55.35 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.793e-05/0.7676, allocations: 8.031 kB / 1.044 GB, free: 55.34 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.37e-05/0.7677, allocations: 13.95 kB / 1.044 GB, free: 55.34 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.7677, allocations: 1.062 kB / 1.044 GB, free: 55.34 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.7677, allocations: 0.7812 kB / 1.044 GB, free: 55.34 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.7677, allocations: 0.6875 kB / 1.044 GB, free: 55.34 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002852/0.768, allocations: 476.5 kB / 1.044 GB, free: 54.85 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.768, allocations: 0 / 1.044 GB, free: 54.85 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.778e-05/0.768, allocations: 3.094 kB / 1.044 GB, free: 54.85 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.768, allocations: 2.875 kB / 1.044 GB, free: 54.85 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-06/0.768, allocations: 0 / 1.044 GB, free: 54.85 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.768, allocations: 7.938 kB / 1.044 GB, free: 54.84 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.768, allocations: 0 / 1.044 GB, free: 54.84 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.775e-05/0.7681, allocations: 88.05 kB / 1.044 GB, free: 54.75 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.396e-05/0.7682, allocations: 91.28 kB / 1.045 GB, free: 54.65 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.518e-05/0.7682, allocations: 1.844 kB / 1.045 GB, free: 54.65 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.924e-05/0.7682, allocations: 0 / 1.045 GB, free: 54.65 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.321e-05/0.7682, allocations: 0.7188 kB / 1.045 GB, free: 54.65 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-06/0.7682, allocations: 2 kB / 1.045 GB, free: 54.65 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.784e-05/0.7683, allocations: 120.5 kB / 1.045 GB, free: 54.57 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7683, allocations: 0 / 1.045 GB, free: 54.57 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001683/0.7685, allocations: 15.81 kB / 1.045 GB, free: 54.56 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.0001139/0.7686, allocations: 105.7 kB / 1.045 GB, free: 54.47 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 7.966e-05/0.7687, allocations: 15.95 kB / 1.045 GB, free: 54.46 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.7687, allocations: 0 / 1.045 GB, free: 54.46 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.218e-05/0.7687, allocations: 4.891 kB / 1.045 GB, free: 54.46 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001488/0.7689, allocations: 15.56 kB / 1.045 GB, free: 54.45 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002898/0.7692, allocations: 196.1 kB / 1.045 GB, free: 54.26 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001504/0.7693, allocations: 0.6912 MB / 1.046 GB, free: 53.57 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.606e-05/0.7694, allocations: 12.31 kB / 1.046 GB, free: 53.56 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.247e-05/0.7694, allocations: 11.03 kB / 1.046 GB, free: 53.55 MB / 0.698 GB Notification: Performance of SimCode: time 2.2e-07/0.7694, allocations: 0 / 1.046 GB, free: 53.55 MB / 0.698 GB Notification: Performance of Templates: time 0.002349/0.7718, allocations: 426.4 kB / 1.046 GB, free: 53.49 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe 2>&1)