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_gal.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_gal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.847/1.847, 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.002351/0.002352, allocations: 179.7 kB / 393.1 MB, free: 4.066 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.56 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.001086/0.001086, allocations: 97.66 kB / 0.7935 GB, free: 40.06 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0005095/0.0005098, allocations: 12 kB / 0.9224 GB, free: 8.637 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8637/0.8642, allocations: 121.3 MB / 1.041 GB, free: 58.75 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.001053/0.8653, allocations: 0.5241 MB / 1.041 GB, free: 58.46 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 9.867e-05/0.8654, allocations: 43.39 kB / 1.041 GB, free: 58.43 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.052e-05/0.8655, allocations: 8.906 kB / 1.041 GB, free: 58.42 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.053e-05/0.8655, allocations: 3.938 kB / 1.041 GB, free: 58.42 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 8.246e-05/0.8656, allocations: 5.312 kB / 1.041 GB, free: 58.41 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 4.346e-05/0.8657, allocations: 15.34 kB / 1.041 GB, free: 58.41 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 9.878e-05/0.8658, allocations: 56.41 kB / 1.042 GB, free: 58.38 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001433/0.8659, allocations: 37.86 kB / 1.042 GB, free: 58.36 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 4.484e-05/0.866, allocations: 20.33 kB / 1.042 GB, free: 58.35 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.041e-05/0.866, allocations: 17.89 kB / 1.042 GB, free: 58.34 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.028e-05/0.866, allocations: 2.562 kB / 1.042 GB, free: 58.34 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 7.925e-06/0.8661, allocations: 1.375 kB / 1.042 GB, free: 58.34 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.946e-05/0.8661, allocations: 17.44 kB / 1.042 GB, free: 58.33 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.656e-05/0.8661, allocations: 48.42 kB / 1.042 GB, free: 58.28 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001127/0.8662, allocations: 68.25 kB / 1.042 GB, free: 58.26 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.8663, allocations: 0 / 1.042 GB, free: 58.26 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.556e-06/0.8663, allocations: 1.375 kB / 1.042 GB, free: 58.26 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.8663, allocations: 4.938 kB / 1.042 GB, free: 58.25 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.0003669/0.8666, allocations: 362.1 kB / 1.042 GB, free: 57.88 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.8667, allocations: 12.3 kB / 1.042 GB, free: 57.88 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.651e-05/0.8667, allocations: 12.88 kB / 1.042 GB, free: 57.87 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000181/0.8669, allocations: 193.4 kB / 1.042 GB, free: 57.66 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.8669, allocations: 5.734 kB / 1.042 GB, free: 57.66 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.66e-05/0.867, allocations: 13.84 kB / 1.042 GB, free: 57.65 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001579/0.8671, allocations: 89.89 kB / 1.042 GB, free: 57.58 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.8671, allocations: 0.9062 kB / 1.042 GB, free: 57.58 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.8672, allocations: 9.25 kB / 1.042 GB, free: 57.57 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.8672, allocations: 4.812 kB / 1.042 GB, free: 57.57 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.553e-05/0.8673, allocations: 41.73 kB / 1.042 GB, free: 57.56 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000476/0.8678, allocations: 434.7 kB / 1.043 GB, free: 57.16 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.466e-05/0.8678, allocations: 45.5 kB / 1.043 GB, free: 57.1 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.069e-05/0.8678, allocations: 14.03 kB / 1.043 GB, free: 57.09 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.259e-05/0.8679, allocations: 4 kB / 1.043 GB, free: 57.09 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.673e-05/0.8679, allocations: 36.22 kB / 1.043 GB, free: 57.04 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.282e-06/0.8679, allocations: 3.781 kB / 1.043 GB, free: 57.04 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001669/0.8681, allocations: 59.53 kB / 1.043 GB, free: 56.99 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.587e-05/0.8681, allocations: 78.7 kB / 1.043 GB, free: 56.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/0.8682, allocations: 156 kB / 1.043 GB, free: 56.79 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.965e-06/0.8683, allocations: 31.64 kB / 1.043 GB, free: 56.75 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.215e-05/0.8683, allocations: 100.9 kB / 1.043 GB, free: 56.65 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.089e-05/0.8683, allocations: 8.734 kB / 1.043 GB, free: 56.65 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.936e-06/0.8683, allocations: 3.938 kB / 1.043 GB, free: 56.64 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.746e-05/0.8684, allocations: 317.7 kB / 1.044 GB, free: 56.33 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.579e-05/0.8684, allocations: 9 kB / 1.044 GB, free: 56.32 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.001e-05/0.8685, allocations: 20.42 kB / 1.044 GB, free: 56.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.798e-05/0.8685, allocations: 29.59 kB / 1.044 GB, free: 56.28 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.8685, allocations: 0 / 1.044 GB, free: 56.28 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.951e-05/0.8686, allocations: 58.8 kB / 1.044 GB, free: 56.24 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.8686, allocations: 6.594 kB / 1.044 GB, free: 56.24 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.872e-06/0.8686, allocations: 10.78 kB / 1.044 GB, free: 56.23 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.8686, allocations: 0 / 1.044 GB, free: 56.23 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.014e-05/0.8687, allocations: 4.062 kB / 1.044 GB, free: 56.23 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.8687, allocations: 4.656 kB / 1.044 GB, free: 56.23 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.87e-05/0.8687, allocations: 4.969 kB / 1.044 GB, free: 56.23 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.249e-06/0.8688, allocations: 8.188 kB / 1.044 GB, free: 56.22 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.863e-05/0.8688, allocations: 109.9 kB / 1.044 GB, free: 56.11 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.035e-05/0.8689, allocations: 8.031 kB / 1.044 GB, free: 56.11 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.299e-05/0.8689, allocations: 18.81 kB / 1.044 GB, free: 56.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.8689, allocations: 4 kB / 1.044 GB, free: 56.09 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.8689, allocations: 1.375 kB / 1.044 GB, free: 56.09 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.8689, allocations: 0 / 1.044 GB, free: 56.09 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003169/0.8692, allocations: 469.7 kB / 1.044 GB, free: 55.61 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.8692, allocations: 1.406 kB / 1.044 GB, free: 55.61 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.049e-05/0.8693, allocations: 5.406 kB / 1.044 GB, free: 55.61 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.8693, allocations: 0 / 1.044 GB, free: 55.61 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.59e-06/0.8693, allocations: 64 / 1.044 GB, free: 55.61 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.8693, allocations: 7.938 kB / 1.044 GB, free: 55.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.8693, allocations: 1.406 kB / 1.044 GB, free: 55.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.808e-05/0.8694, allocations: 80.56 kB / 1.044 GB, free: 55.52 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.297e-05/0.8694, allocations: 91.16 kB / 1.045 GB, free: 55.41 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.255e-05/0.8694, allocations: 2.344 kB / 1.045 GB, free: 55.41 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.008e-05/0.8695, allocations: 0 / 1.045 GB, free: 55.41 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.842e-05/0.8695, allocations: 5.953 kB / 1.045 GB, free: 55.41 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-06/0.8695, allocations: 0.6562 kB / 1.045 GB, free: 55.41 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.971e-05/0.8696, allocations: 121.8 kB / 1.045 GB, free: 55.32 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8696, allocations: 0 / 1.045 GB, free: 55.32 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001864/0.8698, allocations: 6.844 kB / 1.045 GB, free: 55.32 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.0001012/0.8699, allocations: 111.8 kB / 1.045 GB, free: 55.23 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 8.184e-05/0.87, allocations: 10.86 kB / 1.045 GB, free: 55.23 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.87, allocations: 4.125 kB / 1.045 GB, free: 55.23 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.141e-05/0.87, allocations: 7.656 kB / 1.045 GB, free: 55.22 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001636/0.8702, allocations: 14.05 kB / 1.045 GB, free: 55.21 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002643/0.8704, allocations: 193.4 kB / 1.045 GB, free: 55.02 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001143/0.8705, allocations: 0.6932 MB / 1.046 GB, free: 54.33 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.448e-05/0.8706, allocations: 5.891 kB / 1.046 GB, free: 54.33 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.256e-05/0.8706, allocations: 14.55 kB / 1.046 GB, free: 54.32 MB / 0.698 GB Notification: Performance of SimCode: time 3.31e-07/0.8706, allocations: 0 / 1.046 GB, free: 54.32 MB / 0.698 GB Notification: Performance of Templates: time 0.002316/0.8729, allocations: 430.7 kB / 1.046 GB, free: 54.25 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1)