Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001831/0.001831, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002809/0.002809, allocations: 161.7 kB / 22.76 MB, free: 1.68 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.631/1.631, allocations: 177.2 MB / 203.1 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.273/3.273, allocations: 429.6 MB / 0.673 GB, free: 3.887 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.705e-06/2.705e-06, allocations: 0 / 0.8776 GB, free: 6.484 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.59e-05/3.86e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.48 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.00244/0.002479, allocations: 0.814 MB / 0.8784 GB, free: 5.695 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001784/0.002657, allocations: 41.12 kB / 0.8784 GB, free: 5.656 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.329e-05/0.00273, allocations: 4 kB / 0.8784 GB, free: 5.652 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 5.052e-05/0.002781, allocations: 7.875 kB / 0.8784 GB, free: 5.645 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.941e-05/0.00288, allocations: 9.125 kB / 0.8785 GB, free: 5.637 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 7.313e-05/0.002954, allocations: 19.92 kB / 0.8785 GB, free: 5.617 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001441/0.003098, allocations: 59.83 kB / 0.8785 GB, free: 5.559 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001571/0.003255, allocations: 36.91 kB / 0.8786 GB, free: 5.523 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001291/0.003384, allocations: 35.91 kB / 0.8786 GB, free: 5.488 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.121e-05/0.003435, allocations: 17.45 kB / 0.8786 GB, free: 5.473 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.484e-05/0.00346, allocations: 8 kB / 0.8786 GB, free: 5.465 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.12e-05/0.003471, allocations: 4 kB / 0.8786 GB, free: 5.461 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.87e-05/0.0035, allocations: 19.91 kB / 0.8786 GB, free: 5.441 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.415e-05/0.003544, allocations: 17.22 kB / 0.8787 GB, free: 5.426 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001524/0.003696, allocations: 79.62 kB / 0.8787 GB, free: 5.348 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.003699, allocations: 0 / 0.8787 GB, free: 5.348 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.62e-07/0.0037, allocations: 0 / 0.8787 GB, free: 5.348 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.003705, allocations: 0.9688 kB / 0.8787 GB, free: 5.348 MB / 0.8386 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.000593/0.004298, allocations: 306 kB / 0.879 GB, free: 5.016 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.004348, allocations: 15.47 kB / 0.879 GB, free: 5.004 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.348e-05/0.004411, allocations: 16.89 kB / 0.8791 GB, free: 4.988 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002397/0.004651, allocations: 125.7 kB / 0.8792 GB, free: 4.84 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.222e-05/0.004673, allocations: 12.31 kB / 0.8792 GB, free: 4.828 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.563e-05/0.004689, allocations: 4.375 kB / 0.8792 GB, free: 4.824 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001958/0.004885, allocations: 94.45 kB / 0.8793 GB, free: 4.723 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.004895, allocations: 192 / 0.8793 GB, free: 4.723 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.00491, allocations: 4.375 kB / 0.8793 GB, free: 4.719 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-06/0.004919, allocations: 4.375 kB / 0.8793 GB, free: 4.715 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.00502, allocations: 43.86 kB / 0.8793 GB, free: 4.672 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007669/0.005787, allocations: 360.4 kB / 0.8797 GB, free: 4.285 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.467e-05/0.005871, allocations: 41.25 kB / 0.8797 GB, free: 4.227 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.561e-05/0.005917, allocations: 21.77 kB / 0.8797 GB, free: 4.199 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.969e-06/0.005927, allocations: 3.984 kB / 0.8797 GB, free: 4.195 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.812e-05/0.005965, allocations: 34.56 kB / 0.8798 GB, free: 4.152 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.005966, allocations: 0 / 0.8798 GB, free: 4.152 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0002119/0.006178, allocations: 49.73 kB / 0.8798 GB, free: 4.098 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.891e-05/0.006247, allocations: 77.11 kB / 0.8799 GB, free: 4.004 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001607/0.006408, allocations: 133.8 kB / 0.88 GB, free: 3.863 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.006428, allocations: 25.7 kB / 0.88 GB, free: 3.832 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.392e-05/0.006522, allocations: 107.9 kB / 0.8802 GB, free: 3.723 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.364e-05/0.006535, allocations: 11.95 kB / 0.8802 GB, free: 3.711 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.891e-05/0.006574, allocations: 13.72 kB / 0.8802 GB, free: 3.691 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001847/0.006759, allocations: 318.8 kB / 0.8805 GB, free: 3.371 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.994e-05/0.006779, allocations: 4 kB / 0.8805 GB, free: 3.367 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.764e-05/0.006817, allocations: 29.58 kB / 0.8805 GB, free: 3.332 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.284e-05/0.006869, allocations: 29.88 kB / 0.8805 GB, free: 3.297 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.006871, allocations: 0 / 0.8805 GB, free: 3.297 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001054/0.006977, allocations: 57.59 kB / 0.8806 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.006994, allocations: 4 kB / 0.8806 GB, free: 3.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.006999, allocations: 0 / 0.8806 GB, free: 3.23 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.393e-05/0.007023, allocations: 4 kB / 0.8806 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.668e-05/0.00711, allocations: 7.984 kB / 0.8806 GB, free: 3.219 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.958e-06/0.00712, allocations: 3.938 kB / 0.8806 GB, free: 3.215 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.945e-05/0.007149, allocations: 7.938 kB / 0.8806 GB, free: 3.207 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.148e-06/0.007153, allocations: 4.062 kB / 0.8806 GB, free: 3.203 MB / 0.8386 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 0.0001029/0.007256, allocations: 113.8 kB / 0.8807 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.278e-05/0.007299, allocations: 7.953 kB / 0.8807 GB, free: 3.074 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.392e-05/0.007323, allocations: 7.469 kB / 0.8808 GB, free: 3.066 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.007327, allocations: 4 kB / 0.8808 GB, free: 3.062 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.007336, allocations: 7.984 kB / 0.8808 GB, free: 3.055 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.00734, allocations: 7.875 kB / 0.8808 GB, free: 3.047 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004434/0.007784, allocations: 402.6 kB / 0.8812 GB, free: 2.609 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.007786, allocations: 0 / 0.8812 GB, free: 2.609 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.166e-05/0.007818, allocations: 15.98 kB / 0.8812 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.00782, allocations: 0 / 0.8812 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.846e-06/0.007829, allocations: 3.938 kB / 0.8812 GB, free: 2.59 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.007831, allocations: 0 / 0.8812 GB, free: 2.59 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.007832, allocations: 0 / 0.8812 GB, free: 2.59 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001081/0.00794, allocations: 73.95 kB / 0.8812 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.656e-05/0.007977, allocations: 7.938 kB / 0.8813 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.178e-05/0.007999, allocations: 11.94 kB / 0.8813 GB, free: 2.477 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.869e-05/0.008017, allocations: 0 / 0.8813 GB, free: 2.477 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.353e-05/0.008031, allocations: 0 / 0.8813 GB, free: 2.477 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-06/0.008035, allocations: 8.031 kB / 0.8813 GB, free: 2.469 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 9.032e-05/0.008126, allocations: 105.8 kB / 0.8814 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of sort global known variables: time 8e-08/0.008126, allocations: 0 / 0.8814 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002034/0.008329, allocations: 12 kB / 0.8814 GB, free: 2.355 MB / 0.8386 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.0001466/0.008476, allocations: 91.25 kB / 0.8815 GB, free: 2.254 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.431e-05/0.00857, allocations: 19.98 kB / 0.8815 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.008572, allocations: 0 / 0.8815 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.525e-05/0.008587, allocations: 11.88 kB / 0.8815 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001658/0.008753, allocations: 8.25 kB / 0.8815 GB, free: 2.215 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004208/0.009174, allocations: 166.9 kB / 0.8817 GB, free: 2.016 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.268e-05/0.009266, allocations: 79.88 kB / 0.8817 GB, free: 1.918 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.141e-05/0.009298, allocations: 4 kB / 0.8817 GB, free: 1.914 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.887e-05/0.009337, allocations: 12.5 kB / 0.8818 GB, free: 1.902 MB / 0.8386 GB Notification: Performance of SimCode: time 9.21e-07/0.009338, allocations: 0 / 0.8818 GB, free: 1.902 MB / 0.8386 GB Notification: Performance of Templates: time 0.003008/0.01235, allocations: 360.2 kB / 0.8821 GB, free: 1.555 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_ton.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.354603713029064]