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.001838/0.001838, allocations: 93.47 kB / 19.44 MB, free: 336 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.001978/0.001978, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.597/1.597, allocations: 177.1 MB / 203.1 MB, free: 5.617 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.401/3.401, allocations: 429.5 MB / 0.6729 GB, free: 4.02 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 1.613e-06/1.613e-06, allocations: 0 / 0.8774 GB, free: 6.664 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.814e-05/2.976e-05, allocations: 5.688 kB / 0.8775 GB, free: 6.66 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.002088/0.002118, allocations: 0.8126 MB / 0.8782 GB, free: 5.875 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001243/0.002242, allocations: 40.88 kB / 0.8783 GB, free: 5.836 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.605e-05/0.002298, allocations: 4 kB / 0.8783 GB, free: 5.832 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.748e-05/0.002336, allocations: 8.531 kB / 0.8783 GB, free: 5.824 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.328e-05/0.002429, allocations: 7.938 kB / 0.8783 GB, free: 5.816 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 5.632e-05/0.002485, allocations: 17.58 kB / 0.8783 GB, free: 5.801 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001282/0.002613, allocations: 63.77 kB / 0.8784 GB, free: 5.738 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/0.002742, allocations: 35.91 kB / 0.8784 GB, free: 5.703 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 9.831e-05/0.00284, allocations: 35.91 kB / 0.8784 GB, free: 5.668 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.456e-05/0.002895, allocations: 18.39 kB / 0.8785 GB, free: 5.652 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.171e-05/0.002916, allocations: 8 kB / 0.8785 GB, free: 5.645 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.838e-06/0.002926, allocations: 4 kB / 0.8785 GB, free: 5.641 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.608e-05/0.002952, allocations: 19.91 kB / 0.8785 GB, free: 5.621 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.561e-05/0.002988, allocations: 15.94 kB / 0.8785 GB, free: 5.605 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001336/0.003121, allocations: 75.69 kB / 0.8786 GB, free: 5.531 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.003124, allocations: 2.062 kB / 0.8786 GB, free: 5.531 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.02e-07/0.003125, allocations: 0 / 0.8786 GB, free: 5.531 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.00313, allocations: 0 / 0.8786 GB, free: 5.531 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.0005388/0.003669, allocations: 415.9 kB / 0.879 GB, free: 5.086 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.003706, allocations: 11.97 kB / 0.879 GB, free: 5.074 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.01e-05/0.003756, allocations: 13.61 kB / 0.879 GB, free: 5.062 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000242/0.003998, allocations: 144.4 kB / 0.8791 GB, free: 4.895 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/0.004016, allocations: 10.03 kB / 0.8792 GB, free: 4.887 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.499e-05/0.004031, allocations: 8.375 kB / 0.8792 GB, free: 4.879 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001762/0.004207, allocations: 93.61 kB / 0.8793 GB, free: 4.773 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.004217, allocations: 192 / 0.8793 GB, free: 4.773 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.004231, allocations: 5.562 kB / 0.8793 GB, free: 4.77 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.004241, allocations: 8.359 kB / 0.8793 GB, free: 4.762 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.735e-05/0.004329, allocations: 39.86 kB / 0.8793 GB, free: 4.723 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006262/0.004955, allocations: 474.4 kB / 0.8798 GB, free: 4.219 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.453e-05/0.00505, allocations: 62.22 kB / 0.8798 GB, free: 4.133 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.411e-05/0.005094, allocations: 23.42 kB / 0.8798 GB, free: 4.102 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.476e-05/0.005108, allocations: 4 kB / 0.8798 GB, free: 4.098 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.991e-05/0.005148, allocations: 37.39 kB / 0.8799 GB, free: 4.051 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.005149, allocations: 0 / 0.8799 GB, free: 4.051 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001887/0.005338, allocations: 45.64 kB / 0.8799 GB, free: 4 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.641e-05/0.005404, allocations: 81.36 kB / 0.88 GB, free: 3.902 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001897/0.005594, allocations: 200.8 kB / 0.8802 GB, free: 3.691 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.005612, allocations: 25.7 kB / 0.8802 GB, free: 3.66 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.005741, allocations: 162.7 kB / 0.8804 GB, free: 3.496 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.997e-06/0.00575, allocations: 3.953 kB / 0.8804 GB, free: 3.492 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.763e-05/0.005798, allocations: 27.36 kB / 0.8804 GB, free: 3.457 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0005017/0.0063, allocations: 0.4884 MB / 0.8809 GB, free: 2.957 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.176e-05/0.006321, allocations: 7.938 kB / 0.8809 GB, free: 2.949 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.259e-05/0.006354, allocations: 27.36 kB / 0.8809 GB, free: 2.914 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.066e-05/0.006405, allocations: 27.38 kB / 0.8809 GB, free: 2.879 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.006406, allocations: 4 kB / 0.8809 GB, free: 2.875 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.805e-05/0.006504, allocations: 61.59 kB / 0.881 GB, free: 2.809 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.006519, allocations: 7.984 kB / 0.881 GB, free: 2.801 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.006523, allocations: 0 / 0.881 GB, free: 2.801 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.006539, allocations: 0 / 0.881 GB, free: 2.801 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.484e-05/0.006624, allocations: 8 kB / 0.881 GB, free: 2.793 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.006632, allocations: 7.875 kB / 0.881 GB, free: 2.785 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.611e-05/0.006679, allocations: 3.938 kB / 0.881 GB, free: 2.781 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.817e-06/0.006687, allocations: 4 kB / 0.881 GB, free: 2.777 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.0001584/0.006846, allocations: 164.6 kB / 0.8812 GB, free: 2.605 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.875e-05/0.006885, allocations: 3.953 kB / 0.8812 GB, free: 2.602 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.963e-05/0.006914, allocations: 19.39 kB / 0.8812 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.006916, allocations: 0 / 0.8812 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.006919, allocations: 0 / 0.8812 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.006927, allocations: 7.938 kB / 0.8812 GB, free: 2.574 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005299/0.007457, allocations: 0.55 MB / 0.8818 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.007458, allocations: 4 kB / 0.8818 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.792e-05/0.007476, allocations: 0 / 0.8818 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.007481, allocations: 4 kB / 0.8818 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.007488, allocations: 8 kB / 0.8818 GB, free: 1.957 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.00749, allocations: 0 / 0.8818 GB, free: 1.957 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.007491, allocations: 0 / 0.8818 GB, free: 1.957 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001232/0.007614, allocations: 88.08 kB / 0.8819 GB, free: 1.844 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.459e-05/0.007638, allocations: 11.94 kB / 0.8819 GB, free: 1.832 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.749e-05/0.007656, allocations: 11.94 kB / 0.8819 GB, free: 1.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.778e-05/0.007674, allocations: 0 / 0.8819 GB, free: 1.82 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.219e-05/0.007696, allocations: 7.938 kB / 0.8819 GB, free: 1.812 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-06/0.007698, allocations: 0 / 0.8819 GB, free: 1.812 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001041/0.007802, allocations: 147.2 kB / 0.882 GB, free: 1.668 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1e-07/0.007802, allocations: 4.031 kB / 0.882 GB, free: 1.664 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001828/0.007985, allocations: 12 kB / 0.882 GB, free: 1.652 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.0001251/0.00811, allocations: 95.23 kB / 0.8821 GB, free: 1.547 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.751e-05/0.008207, allocations: 23.69 kB / 0.8822 GB, free: 1.52 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.008209, allocations: 0 / 0.8822 GB, free: 1.52 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.106e-05/0.00823, allocations: 15.62 kB / 0.8822 GB, free: 1.5 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001459/0.008376, allocations: 8 kB / 0.8822 GB, free: 1.492 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003831/0.008759, allocations: 178.8 kB / 0.8823 GB, free: 1.277 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.611e-05/0.008845, allocations: 79.88 kB / 0.8824 GB, free: 1.18 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.72e-05/0.008873, allocations: 3.984 kB / 0.8824 GB, free: 1.176 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.696e-05/0.0089, allocations: 12.5 kB / 0.8824 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of SimCode: time 5.61e-07/0.0089, allocations: 0 / 0.8824 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of Templates: time 0.003042/0.01194, allocations: 344.7 kB / 0.8828 GB, free: 0.832 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1) [Timeout 240] 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.491389035014436]