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.001213/0.001213, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.001521/0.001521, allocations: 177.9 kB / 23.21 MB, free: 1.352 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 0.9212/0.9212, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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 1.788/1.788, allocations: 389 MB / 0.6338 GB, free: 12.73 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.684e-06/1.684e-06, allocations: 0 / 1.001 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.149e-05/3.317e-05, allocations: 6.219 kB / 1.001 GB, free: 13.03 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.001466/0.001499, allocations: 0.7891 MB / 1.002 GB, free: 12.25 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0001092/0.001608, allocations: 43.78 kB / 1.002 GB, free: 12.2 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.876e-05/0.001657, allocations: 0 / 1.002 GB, free: 12.2 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.911e-05/0.001696, allocations: 11.86 kB / 1.002 GB, free: 12.19 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.697e-05/0.001763, allocations: 11.92 kB / 1.002 GB, free: 12.18 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 4.696e-05/0.00181, allocations: 15.98 kB / 1.002 GB, free: 12.16 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001098/0.00192, allocations: 63.78 kB / 1.002 GB, free: 12.1 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001343/0.002054, allocations: 35.89 kB / 1.002 GB, free: 12.07 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 6.714e-05/0.002121, allocations: 31.92 kB / 1.002 GB, free: 12.04 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.232e-05/0.002174, allocations: 19.91 kB / 1.002 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.633e-05/0.0022, allocations: 8 kB / 1.002 GB, free: 12.01 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 8.637e-06/0.002209, allocations: 8 kB / 1.002 GB, free: 12 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.146e-05/0.00223, allocations: 15.92 kB / 1.002 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.966e-05/0.00226, allocations: 19.92 kB / 1.002 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001093/0.002369, allocations: 75.69 kB / 1.002 GB, free: 11.89 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.464e-06/0.002372, allocations: 0 / 1.002 GB, free: 11.89 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.463e-06/0.002373, allocations: 0 / 1.002 GB, free: 11.89 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.002377, allocations: 0 / 1.002 GB, free: 11.89 MB / 0.9636 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.0003676/0.002745, allocations: 302 kB / 1.002 GB, free: 11.56 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.002786, allocations: 8.75 kB / 1.002 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.298e-05/0.002819, allocations: 16.83 kB / 1.002 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001576/0.002977, allocations: 133.7 kB / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.002989, allocations: 8.359 kB / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.188e-05/0.003001, allocations: 8.375 kB / 1.002 GB, free: 11.37 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001345/0.003135, allocations: 101.8 kB / 1.003 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.003143, allocations: 192 / 1.003 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.357e-06/0.003153, allocations: 384 / 1.003 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.003158, allocations: 384 / 1.003 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.058e-05/0.003218, allocations: 43.86 kB / 1.003 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003689/0.003587, allocations: 360.5 kB / 1.003 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 5.129e-05/0.003638, allocations: 45.25 kB / 1.003 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.776e-05/0.003666, allocations: 13.78 kB / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 7.214e-06/0.003673, allocations: 0 / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.003695, allocations: 38.56 kB / 1.003 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 8.41e-07/0.003695, allocations: 0 / 1.003 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0001442/0.00384, allocations: 53.58 kB / 1.003 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/0.00388, allocations: 81.05 kB / 1.003 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.764e-05/0.003968, allocations: 129.8 kB / 1.003 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.568e-06/0.003977, allocations: 25.95 kB / 1.003 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.503e-05/0.004032, allocations: 115.9 kB / 1.003 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 9.508e-06/0.004042, allocations: 7.953 kB / 1.003 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.486e-05/0.004067, allocations: 17.72 kB / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.836e-05/0.004145, allocations: 314.8 kB / 1.004 GB, free: 9.91 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.673e-05/0.004162, allocations: 8 kB / 1.004 GB, free: 9.902 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.739e-05/0.004179, allocations: 13.72 kB / 1.004 GB, free: 9.883 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.531e-05/0.004214, allocations: 29.66 kB / 1.004 GB, free: 9.848 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.004216, allocations: 4 kB / 1.004 GB, free: 9.844 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6e-05/0.004276, allocations: 61.58 kB / 1.004 GB, free: 9.777 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.004289, allocations: 4 kB / 1.004 GB, free: 9.773 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.004294, allocations: 0 / 1.004 GB, free: 9.773 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.004308, allocations: 0 / 1.004 GB, free: 9.773 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.651e-05/0.004364, allocations: 8 kB / 1.004 GB, free: 9.766 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.004371, allocations: 3.938 kB / 1.004 GB, free: 9.762 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.607e-05/0.004387, allocations: 11.88 kB / 1.004 GB, free: 9.75 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.004393, allocations: 7.984 kB / 1.004 GB, free: 9.742 MB / 0.9636 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 5.609e-05/0.004449, allocations: 113.8 kB / 1.004 GB, free: 9.621 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.014e-05/0.004469, allocations: 8.031 kB / 1.004 GB, free: 9.613 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.949e-05/0.004489, allocations: 11.53 kB / 1.004 GB, free: 9.598 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.00449, allocations: 0 / 1.004 GB, free: 9.598 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.004495, allocations: 0 / 1.004 GB, free: 9.598 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.004498, allocations: 3.938 kB / 1.004 GB, free: 9.594 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002413/0.00474, allocations: 410.5 kB / 1.004 GB, free: 9.148 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.004741, allocations: 0 / 1.004 GB, free: 9.148 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.233e-05/0.004753, allocations: 4 kB / 1.004 GB, free: 9.145 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.004755, allocations: 0 / 1.004 GB, free: 9.145 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.004763, allocations: 7.938 kB / 1.004 GB, free: 9.137 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.004764, allocations: 0 / 1.004 GB, free: 9.137 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/0.004767, allocations: 11.98 kB / 1.004 GB, free: 9.125 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.381e-05/0.00482, allocations: 74.72 kB / 1.005 GB, free: 9.031 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.679e-05/0.004837, allocations: 12 kB / 1.005 GB, free: 9.02 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.051e-05/0.004848, allocations: 3.938 kB / 1.005 GB, free: 9.016 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.886e-06/0.004857, allocations: 3.984 kB / 1.005 GB, free: 9.012 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.407e-05/0.004871, allocations: 4 kB / 1.005 GB, free: 9.008 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-06/0.004873, allocations: 0 / 1.005 GB, free: 9.008 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.161e-05/0.004914, allocations: 102.3 kB / 1.005 GB, free: 8.91 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.004914, allocations: 0 / 1.005 GB, free: 8.91 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001253/0.00504, allocations: 11.95 kB / 1.005 GB, free: 8.898 MB / 0.9636 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 8.842e-05/0.005128, allocations: 95.28 kB / 1.005 GB, free: 8.797 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 7.502e-05/0.005203, allocations: 27.86 kB / 1.005 GB, free: 8.77 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.005205, allocations: 0 / 1.005 GB, free: 8.77 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.261e-06/0.005211, allocations: 4 kB / 1.005 GB, free: 8.766 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001151/0.005326, allocations: 8 kB / 1.005 GB, free: 8.758 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002622/0.005589, allocations: 188.2 kB / 1.005 GB, free: 8.531 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.989e-05/0.005639, allocations: 83.56 kB / 1.005 GB, free: 8.43 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.316e-05/0.005662, allocations: 12.5 kB / 1.005 GB, free: 8.418 MB / 0.9636 GB Notification: Performance of SimCode: time 4.71e-07/0.005662, allocations: 0 / 1.005 GB, free: 8.418 MB / 0.9636 GB Notification: Performance of Templates: time 0.001528/0.007191, allocations: 0.7936 MB / 1.006 GB, free: 7.621 MB / 0.9636 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: 6.641193749383092]