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_psi.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_psi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_psi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.938/1.938, 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.001115/0.001115, allocations: 190.9 kB / 393.1 MB, free: 4.047 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.771/1.771, allocations: 225.7 MB / 0.6743 GB, free: 12.57 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.0008405/0.0008407, allocations: 95.52 kB / 0.7935 GB, free: 39.98 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004002/0.0004002, allocations: 8 kB / 0.9224 GB, free: 8.633 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8243/0.8247, allocations: 121.3 MB / 1.041 GB, free: 58.07 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.001263/0.8261, allocations: 0.5215 MB / 1.041 GB, free: 57.75 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0001427/0.8262, allocations: 42.17 kB / 1.041 GB, free: 57.72 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.898e-05/0.8263, allocations: 6.688 kB / 1.041 GB, free: 57.71 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.34e-05/0.8263, allocations: 8.438 kB / 1.041 GB, free: 57.71 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 9.828e-05/0.8264, allocations: 3.938 kB / 1.041 GB, free: 57.71 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 5.355e-05/0.8265, allocations: 16.78 kB / 1.041 GB, free: 57.7 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001514/0.8267, allocations: 56.92 kB / 1.042 GB, free: 57.67 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001855/0.8268, allocations: 37.62 kB / 1.042 GB, free: 57.66 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 5.892e-05/0.8269, allocations: 13.38 kB / 1.042 GB, free: 57.65 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.783e-05/0.827, allocations: 32.3 kB / 1.042 GB, free: 57.62 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.827, allocations: 2.75 kB / 1.042 GB, free: 57.62 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.024e-05/0.827, allocations: 1.375 kB / 1.042 GB, free: 57.62 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.425e-05/0.8271, allocations: 8.047 kB / 1.042 GB, free: 57.62 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 5.243e-05/0.8271, allocations: 50.91 kB / 1.042 GB, free: 57.57 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001442/0.8273, allocations: 72.95 kB / 1.042 GB, free: 57.55 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 9.007e-06/0.8273, allocations: 0 / 1.042 GB, free: 57.55 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.266e-06/0.8273, allocations: 3.938 kB / 1.042 GB, free: 57.54 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.8273, allocations: 0 / 1.042 GB, free: 57.54 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.000496/0.8278, allocations: 364.8 kB / 1.042 GB, free: 57.16 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.936e-05/0.8279, allocations: 9.312 kB / 1.042 GB, free: 57.16 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.742e-05/0.8279, allocations: 16 kB / 1.042 GB, free: 57.16 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002264/0.8282, allocations: 191.9 kB / 1.042 GB, free: 56.95 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.8282, allocations: 8.281 kB / 1.042 GB, free: 56.94 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.874e-05/0.8282, allocations: 3.344 kB / 1.042 GB, free: 56.94 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001996/0.8284, allocations: 98.09 kB / 1.042 GB, free: 56.87 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.8285, allocations: 1 kB / 1.042 GB, free: 56.87 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.698e-05/0.8285, allocations: 9.312 kB / 1.042 GB, free: 56.86 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.8285, allocations: 3.531 kB / 1.042 GB, free: 56.86 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.757e-05/0.8286, allocations: 32.41 kB / 1.042 GB, free: 56.85 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005761/0.8292, allocations: 438.3 kB / 1.043 GB, free: 56.45 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.337e-05/0.8293, allocations: 38.69 kB / 1.043 GB, free: 56.4 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.532e-05/0.8293, allocations: 23.16 kB / 1.043 GB, free: 56.38 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.528e-06/0.8293, allocations: 0 / 1.043 GB, free: 56.38 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.8294, allocations: 40.8 kB / 1.043 GB, free: 56.34 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.8294, allocations: 0 / 1.043 GB, free: 56.34 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0002104/0.8296, allocations: 57.86 kB / 1.043 GB, free: 56.29 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.346e-05/0.8296, allocations: 77.91 kB / 1.043 GB, free: 56.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001578/0.8298, allocations: 159.8 kB / 1.043 GB, free: 56.08 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.01e-05/0.8298, allocations: 25.7 kB / 1.043 GB, free: 56.05 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.348e-05/0.8299, allocations: 105.7 kB / 1.043 GB, free: 55.95 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.067e-05/0.8299, allocations: 7.906 kB / 1.043 GB, free: 55.94 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.715e-06/0.8299, allocations: 6.906 kB / 1.043 GB, free: 55.94 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.686e-05/0.83, allocations: 319.2 kB / 1.044 GB, free: 55.62 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.179e-05/0.83, allocations: 8.906 kB / 1.044 GB, free: 55.62 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.345e-05/0.8301, allocations: 19.86 kB / 1.044 GB, free: 55.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.283e-05/0.8301, allocations: 25.52 kB / 1.044 GB, free: 55.58 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.8301, allocations: 1.375 kB / 1.044 GB, free: 55.58 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.481e-05/0.8302, allocations: 59.72 kB / 1.044 GB, free: 55.53 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.8302, allocations: 13.33 kB / 1.044 GB, free: 55.53 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.8302, allocations: 3.938 kB / 1.044 GB, free: 55.52 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.8303, allocations: 1.312 kB / 1.044 GB, free: 55.52 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.666e-05/0.8303, allocations: 6.781 kB / 1.044 GB, free: 55.52 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.8304, allocations: 0 / 1.044 GB, free: 55.52 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.894e-05/0.8304, allocations: 5.969 kB / 1.044 GB, free: 55.52 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.8304, allocations: 2.906 kB / 1.044 GB, free: 55.52 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 7.606e-05/0.8305, allocations: 116.8 kB / 1.044 GB, free: 55.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.145e-05/0.8305, allocations: 10.44 kB / 1.044 GB, free: 55.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.331e-05/0.8306, allocations: 15.45 kB / 1.044 GB, free: 55.39 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.8306, allocations: 5.719 kB / 1.044 GB, free: 55.39 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.8306, allocations: 0 / 1.044 GB, free: 55.39 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.8306, allocations: 1.922 kB / 1.044 GB, free: 55.39 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000336/0.831, allocations: 473.5 kB / 1.044 GB, free: 54.91 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.831, allocations: 0 / 1.044 GB, free: 54.91 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.862e-05/0.831, allocations: 7.938 kB / 1.044 GB, free: 54.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.831, allocations: 0 / 1.044 GB, free: 54.9 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.667e-06/0.831, allocations: 1.125 kB / 1.044 GB, free: 54.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.831, allocations: 4.062 kB / 1.044 GB, free: 54.9 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.831, allocations: 4 kB / 1.044 GB, free: 54.9 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.894e-05/0.8311, allocations: 78.22 kB / 1.044 GB, free: 54.81 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.213e-05/0.8312, allocations: 90.78 kB / 1.045 GB, free: 54.71 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.644e-05/0.8312, allocations: 3 kB / 1.045 GB, free: 54.71 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.832e-05/0.8312, allocations: 0 / 1.045 GB, free: 54.71 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.466e-05/0.8312, allocations: 6.109 kB / 1.045 GB, free: 54.71 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.8312, allocations: 5.25 kB / 1.045 GB, free: 54.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.533e-05/0.8313, allocations: 118.7 kB / 1.045 GB, free: 54.62 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8313, allocations: 3.938 kB / 1.045 GB, free: 54.61 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001724/0.8315, allocations: 7.062 kB / 1.045 GB, free: 54.61 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.0001137/0.8316, allocations: 102.8 kB / 1.045 GB, free: 54.53 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 8.38e-05/0.8317, allocations: 15.55 kB / 1.045 GB, free: 54.52 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.8317, allocations: 128 / 1.045 GB, free: 54.52 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.158e-05/0.8317, allocations: 10.75 kB / 1.045 GB, free: 54.52 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001619/0.8319, allocations: 16.14 kB / 1.045 GB, free: 54.51 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000307/0.8322, allocations: 194.2 kB / 1.045 GB, free: 54.32 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001471/0.8324, allocations: 0.697 MB / 1.046 GB, free: 53.62 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.229e-05/0.8324, allocations: 4.859 kB / 1.046 GB, free: 53.62 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.313e-05/0.8324, allocations: 14.06 kB / 1.046 GB, free: 53.61 MB / 0.698 GB Notification: Performance of SimCode: time 2e-07/0.8324, allocations: 0 / 1.046 GB, free: 53.61 MB / 0.698 GB Notification: Performance of Templates: time 0.002656/0.8351, allocations: 428.6 kB / 1.046 GB, free: 53.55 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe 2>&1)