Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_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.001954/0.001954, 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.002713/0.002713, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.536/1.536, allocations: 177.1 MB / 203.1 MB, free: 5.602 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.245/3.245, allocations: 429.6 MB / 0.673 GB, free: 3.906 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.From_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 0.8776 GB, free: 6.492 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.955e-05/3.131e-05, allocations: 4.984 kB / 0.8776 GB, free: 6.488 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.002131/0.002162, allocations: 0.8048 MB / 0.8784 GB, free: 5.711 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001438/0.002306, allocations: 36.39 kB / 0.8784 GB, free: 5.676 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.652e-05/0.002363, allocations: 4.781 kB / 0.8784 GB, free: 5.672 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.066e-05/0.002403, allocations: 7.875 kB / 0.8784 GB, free: 5.664 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.623e-05/0.002479, allocations: 12.44 kB / 0.8784 GB, free: 5.652 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 7.361e-05/0.002553, allocations: 20.89 kB / 0.8785 GB, free: 5.633 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001697/0.002723, allocations: 59.78 kB / 0.8785 GB, free: 5.574 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001469/0.00287, allocations: 31.97 kB / 0.8786 GB, free: 5.543 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 9.517e-05/0.002965, allocations: 36.53 kB / 0.8786 GB, free: 5.508 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.352e-05/0.003018, allocations: 20.75 kB / 0.8786 GB, free: 5.488 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.492e-05/0.003043, allocations: 8 kB / 0.8786 GB, free: 5.48 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.077e-05/0.003054, allocations: 4 kB / 0.8786 GB, free: 5.477 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.65e-05/0.00308, allocations: 16.67 kB / 0.8786 GB, free: 5.461 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.028e-05/0.003121, allocations: 15.92 kB / 0.8786 GB, free: 5.445 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001415/0.003262, allocations: 80.39 kB / 0.8787 GB, free: 5.367 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.003264, allocations: 0 / 0.8787 GB, free: 5.367 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.62e-07/0.003265, allocations: 0.5625 kB / 0.8787 GB, free: 5.367 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.00327, allocations: 0.6562 kB / 0.8787 GB, free: 5.367 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.0005331/0.003803, allocations: 306.7 kB / 0.879 GB, free: 5.035 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.003844, allocations: 8.031 kB / 0.879 GB, free: 5.027 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.532e-05/0.0039, allocations: 14.23 kB / 0.879 GB, free: 5.016 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002632/0.004163, allocations: 141.5 kB / 0.8792 GB, free: 4.852 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/0.004179, allocations: 4.375 kB / 0.8792 GB, free: 4.848 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/0.004198, allocations: 8.375 kB / 0.8792 GB, free: 4.84 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001972/0.004395, allocations: 99.41 kB / 0.8793 GB, free: 4.734 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.004408, allocations: 192 / 0.8793 GB, free: 4.734 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.004422, allocations: 5.469 kB / 0.8793 GB, free: 4.73 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.004431, allocations: 4.375 kB / 0.8793 GB, free: 4.727 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001006/0.004531, allocations: 43.86 kB / 0.8793 GB, free: 4.684 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006202/0.005151, allocations: 353.5 kB / 0.8797 GB, free: 4.305 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.496e-05/0.005236, allocations: 41.19 kB / 0.8797 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.426e-05/0.005281, allocations: 18.97 kB / 0.8797 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.455e-06/0.005289, allocations: 0 / 0.8797 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.085e-05/0.00533, allocations: 35.34 kB / 0.8798 GB, free: 4.18 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.005331, allocations: 4 kB / 0.8798 GB, free: 4.176 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0002085/0.005539, allocations: 55.23 kB / 0.8798 GB, free: 4.117 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.023e-05/0.00561, allocations: 77.11 kB / 0.8799 GB, free: 4.023 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001673/0.005777, allocations: 128.5 kB / 0.88 GB, free: 3.891 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.562e-05/0.005803, allocations: 30.19 kB / 0.88 GB, free: 3.855 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.863e-05/0.005901, allocations: 113.5 kB / 0.8802 GB, free: 3.742 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.108e-05/0.005912, allocations: 7.953 kB / 0.8802 GB, free: 3.734 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.243e-05/0.005955, allocations: 17.72 kB / 0.8802 GB, free: 3.711 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001911/0.006146, allocations: 310.8 kB / 0.8805 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.472e-05/0.006171, allocations: 17.11 kB / 0.8805 GB, free: 3.383 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.946e-05/0.0062, allocations: 17.7 kB / 0.8805 GB, free: 3.359 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.354e-05/0.006254, allocations: 26.81 kB / 0.8805 GB, free: 3.328 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.301e-06/0.00626, allocations: 8 kB / 0.8805 GB, free: 3.32 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001074/0.006367, allocations: 63.17 kB / 0.8806 GB, free: 3.254 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.006383, allocations: 4 kB / 0.8806 GB, free: 3.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.361e-06/0.006389, allocations: 0 / 0.8806 GB, free: 3.25 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.437e-05/0.006413, allocations: 4 kB / 0.8806 GB, free: 3.246 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.959e-05/0.006483, allocations: 6.969 kB / 0.8806 GB, free: 3.242 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.006493, allocations: 3.938 kB / 0.8806 GB, free: 3.238 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.492e-05/0.006518, allocations: 0 / 0.8806 GB, free: 3.238 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.538e-06/0.006523, allocations: 4 kB / 0.8806 GB, free: 3.234 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.000117/0.00664, allocations: 113.8 kB / 0.8807 GB, free: 3.113 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.102e-05/0.006691, allocations: 15.88 kB / 0.8807 GB, free: 3.098 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.948e-05/0.00671, allocations: 3.469 kB / 0.8807 GB, free: 3.094 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.006712, allocations: 1.562 kB / 0.8807 GB, free: 3.094 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.00672, allocations: 4 kB / 0.8808 GB, free: 3.09 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.006725, allocations: 7.875 kB / 0.8808 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004658/0.007191, allocations: 415 kB / 0.8812 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.007193, allocations: 0 / 0.8812 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.912e-05/0.007212, allocations: 0.9062 kB / 0.8812 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.007214, allocations: 4 kB / 0.8812 GB, free: 2.629 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.088e-06/0.007223, allocations: 4.562 kB / 0.8812 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.007224, allocations: 0 / 0.8812 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.007226, allocations: 384 / 0.8812 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001111/0.007337, allocations: 85.94 kB / 0.8812 GB, free: 2.52 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.025e-05/0.007357, allocations: 3.953 kB / 0.8813 GB, free: 2.516 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.678e-05/0.007374, allocations: 7.938 kB / 0.8813 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.877e-05/0.007392, allocations: 0 / 0.8813 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.183e-05/0.007414, allocations: 3.938 kB / 0.8813 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-06/0.007419, allocations: 3.984 kB / 0.8813 GB, free: 2.5 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001014/0.00752, allocations: 107.3 kB / 0.8814 GB, free: 2.395 MB / 0.8386 GB Notification: Performance of sort global known variables: time 8.1e-08/0.00752, allocations: 0 / 0.8814 GB, free: 2.395 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001993/0.007719, allocations: 4 kB / 0.8814 GB, free: 2.391 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.0001288/0.007848, allocations: 99.28 kB / 0.8815 GB, free: 2.281 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.573e-05/0.007934, allocations: 12 kB / 0.8815 GB, free: 2.27 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.007936, allocations: 4 kB / 0.8815 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.386e-05/0.00795, allocations: 7.938 kB / 0.8815 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000156/0.008106, allocations: 4 kB / 0.8815 GB, free: 2.254 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004001/0.008506, allocations: 162.9 kB / 0.8816 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.291e-05/0.008599, allocations: 84.12 kB / 0.8817 GB, free: 1.957 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.153e-05/0.008631, allocations: 7.984 kB / 0.8817 GB, free: 1.949 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.657e-05/0.008667, allocations: 8.5 kB / 0.8817 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of SimCode: time 7.11e-07/0.008668, allocations: 0 / 0.8817 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of Templates: time 0.002933/0.0116, allocations: 359.5 kB / 0.8821 GB, free: 1.594 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_ton.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_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.442872632993385]