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.00189/0.00189, allocations: 85.48 kB / 19.44 MB, free: 344 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.002104/0.002104, allocations: 173.2 kB / 22.76 MB, free: 1.66 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.548/1.548, allocations: 177.1 MB / 203.1 MB, free: 5.457 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.328/3.328, allocations: 429.5 MB / 0.6729 GB, free: 4.027 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.302e-06/1.302e-06, allocations: 0 / 0.8774 GB, free: 6.672 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.751e-05/2.881e-05, allocations: 4.984 kB / 0.8775 GB, free: 6.668 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.00212/0.002149, allocations: 0.8136 MB / 0.8782 GB, free: 5.883 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001207/0.002269, allocations: 37.45 kB / 0.8783 GB, free: 5.848 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.566e-05/0.002325, allocations: 4.766 kB / 0.8783 GB, free: 5.844 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.565e-05/0.002361, allocations: 7.875 kB / 0.8783 GB, free: 5.836 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.869e-05/0.002449, allocations: 12.36 kB / 0.8783 GB, free: 5.824 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 6.328e-05/0.002513, allocations: 21.86 kB / 0.8783 GB, free: 5.805 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001246/0.002637, allocations: 59.83 kB / 0.8784 GB, free: 5.746 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001423/0.00278, allocations: 35.91 kB / 0.8784 GB, free: 5.711 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 9.093e-05/0.002871, allocations: 39.84 kB / 0.8785 GB, free: 5.672 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.96e-05/0.00292, allocations: 15.92 kB / 0.8785 GB, free: 5.656 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.199e-05/0.002942, allocations: 9.344 kB / 0.8785 GB, free: 5.648 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.09e-05/0.002953, allocations: 4 kB / 0.8785 GB, free: 5.645 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.902e-05/0.002982, allocations: 19.91 kB / 0.8785 GB, free: 5.625 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.255e-05/0.003015, allocations: 15.94 kB / 0.8785 GB, free: 5.609 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000131/0.003146, allocations: 76.91 kB / 0.8786 GB, free: 5.535 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.073e-06/0.003148, allocations: 0 / 0.8786 GB, free: 5.535 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.61e-07/0.003148, allocations: 0 / 0.8786 GB, free: 5.535 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.058e-06/0.003152, allocations: 1.594 kB / 0.8786 GB, free: 5.535 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.0005711/0.003724, allocations: 411.9 kB / 0.879 GB, free: 5.094 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.003758, allocations: 8.031 kB / 0.879 GB, free: 5.086 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.266e-05/0.003811, allocations: 16.89 kB / 0.879 GB, free: 5.07 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002027/0.004014, allocations: 134.9 kB / 0.8791 GB, free: 4.914 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.00403, allocations: 8.375 kB / 0.8791 GB, free: 4.906 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.192e-05/0.004042, allocations: 8.312 kB / 0.8792 GB, free: 4.898 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001702/0.004212, allocations: 97.61 kB / 0.8793 GB, free: 4.789 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.004222, allocations: 192 / 0.8793 GB, free: 4.789 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.004235, allocations: 4.375 kB / 0.8793 GB, free: 4.785 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.004242, allocations: 6.531 kB / 0.8793 GB, free: 4.781 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.575e-05/0.004328, allocations: 39.86 kB / 0.8793 GB, free: 4.742 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006334/0.004961, allocations: 478.4 kB / 0.8798 GB, free: 4.234 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.219e-05/0.005053, allocations: 62.22 kB / 0.8798 GB, free: 4.148 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.785e-05/0.005101, allocations: 27.42 kB / 0.8798 GB, free: 4.113 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.372e-05/0.005115, allocations: 4 kB / 0.8798 GB, free: 4.109 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/0.005146, allocations: 37.39 kB / 0.8799 GB, free: 4.062 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.005147, allocations: 3.938 kB / 0.8799 GB, free: 4.059 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001774/0.005324, allocations: 45.64 kB / 0.8799 GB, free: 4.008 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.373e-05/0.005388, allocations: 81.11 kB / 0.88 GB, free: 3.91 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001841/0.005572, allocations: 193.8 kB / 0.8802 GB, free: 3.703 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.005589, allocations: 25.7 kB / 0.8802 GB, free: 3.672 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.005701, allocations: 162.7 kB / 0.8804 GB, free: 3.508 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.374e-06/0.005708, allocations: 8.203 kB / 0.8804 GB, free: 3.5 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.859e-05/0.005757, allocations: 27.36 kB / 0.8804 GB, free: 3.465 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002599/0.006017, allocations: 496.1 kB / 0.8809 GB, free: 2.969 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.981e-05/0.006036, allocations: 4 kB / 0.8809 GB, free: 2.965 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.532e-05/0.006072, allocations: 31.3 kB / 0.8809 GB, free: 2.926 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.477e-05/0.006126, allocations: 31.38 kB / 0.8809 GB, free: 2.887 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.006128, allocations: 0 / 0.8809 GB, free: 2.887 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.475e-05/0.006223, allocations: 57.59 kB / 0.881 GB, free: 2.824 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.006241, allocations: 12.05 kB / 0.881 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.006245, allocations: 0 / 0.881 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.006258, allocations: 0 / 0.881 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.774e-05/0.006326, allocations: 12 kB / 0.881 GB, free: 2.801 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.709e-06/0.006336, allocations: 3.938 kB / 0.881 GB, free: 2.797 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.65e-05/0.006362, allocations: 3.938 kB / 0.881 GB, free: 2.793 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.006369, allocations: 4 kB / 0.881 GB, free: 2.789 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.0001361/0.006505, allocations: 160.6 kB / 0.8812 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.863e-05/0.006544, allocations: 3.953 kB / 0.8812 GB, free: 2.617 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.735e-05/0.006571, allocations: 11.45 kB / 0.8812 GB, free: 2.605 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.006573, allocations: 4 kB / 0.8812 GB, free: 2.602 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.006576, allocations: 0 / 0.8812 GB, free: 2.602 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.006581, allocations: 3.938 kB / 0.8812 GB, free: 2.598 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005072/0.007088, allocations: 0.5539 MB / 0.8817 GB, free: 1.992 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.007089, allocations: 0 / 0.8817 GB, free: 1.992 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.113e-05/0.007111, allocations: 7.938 kB / 0.8818 GB, free: 1.984 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.007113, allocations: 0 / 0.8818 GB, free: 1.984 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.007126, allocations: 11.94 kB / 0.8818 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.007128, allocations: 0 / 0.8818 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.007129, allocations: 0 / 0.8818 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001152/0.007244, allocations: 92.14 kB / 0.8819 GB, free: 1.855 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.469e-05/0.007268, allocations: 8.047 kB / 0.8819 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.421e-05/0.007283, allocations: 7.875 kB / 0.8819 GB, free: 1.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.233e-05/0.007305, allocations: 7.984 kB / 0.8819 GB, free: 1.832 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.779e-05/0.007323, allocations: 0 / 0.8819 GB, free: 1.832 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.007327, allocations: 4 kB / 0.8819 GB, free: 1.828 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001247/0.007452, allocations: 158.4 kB / 0.882 GB, free: 1.676 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.007452, allocations: 0 / 0.882 GB, free: 1.676 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001834/0.007635, allocations: 8 kB / 0.882 GB, free: 1.668 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.0001238/0.007759, allocations: 99.27 kB / 0.8821 GB, free: 1.559 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001/0.007859, allocations: 23.69 kB / 0.8822 GB, free: 1.531 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.007861, allocations: 0 / 0.8822 GB, free: 1.531 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.536e-05/0.007886, allocations: 19.62 kB / 0.8822 GB, free: 1.508 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001483/0.008034, allocations: 6.062 kB / 0.8822 GB, free: 1.504 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003924/0.008427, allocations: 178.6 kB / 0.8823 GB, free: 1.289 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.802e-05/0.008515, allocations: 83.44 kB / 0.8824 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.083e-05/0.008546, allocations: 3.984 kB / 0.8824 GB, free: 1.184 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.932e-05/0.008575, allocations: 12.5 kB / 0.8824 GB, free: 1.172 MB / 0.8386 GB Notification: Performance of SimCode: time 4.31e-07/0.008575, allocations: 0 / 0.8824 GB, free: 1.172 MB / 0.8386 GB Notification: Performance of Templates: time 0.003258/0.01183, allocations: 342.1 kB / 0.8828 GB, free: 0.8398 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) [Timeout 240] 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.52195181499701]