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.001796/0.001796, allocations: 84.05 kB / 19.18 MB, free: 2.523 MB / 14.72 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.001493/0.001493, allocations: 165.5 kB / 22.46 MB, free: 5.359 MB / 14.72 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.567/1.567, allocations: 177.2 MB / 202.8 MB, free: 9.18 MB / 190.1 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 2.985/2.985, allocations: 389 MB / 0.633 GB, free: 1.008 MB / 0.5919 GB " [Timeout remaining time 176] 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.683e-06/1.683e-06, allocations: 0 / 1 GB, free: 6.227 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.147e-05/3.315e-05, allocations: 6.281 kB / 1 GB, free: 6.219 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.002099/0.002132, allocations: 0.7965 MB / 1.001 GB, free: 5.422 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0001426/0.002275, allocations: 47.78 kB / 1.001 GB, free: 5.375 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.25e-05/0.002337, allocations: 0 / 1.001 GB, free: 5.375 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 4.59e-05/0.002383, allocations: 11.88 kB / 1.001 GB, free: 5.363 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 7.489e-05/0.002458, allocations: 3.938 kB / 1.001 GB, free: 5.359 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 6.019e-05/0.002518, allocations: 23.95 kB / 1.001 GB, free: 5.336 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001294/0.002647, allocations: 67.78 kB / 1.001 GB, free: 5.27 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001576/0.002805, allocations: 23.97 kB / 1.001 GB, free: 5.246 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 9.071e-05/0.002896, allocations: 39.89 kB / 1.001 GB, free: 5.207 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 5.47e-05/0.00295, allocations: 15.92 kB / 1.001 GB, free: 5.191 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.679e-05/0.002977, allocations: 8 kB / 1.001 GB, free: 5.184 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 1.192e-05/0.002989, allocations: 8 kB / 1.001 GB, free: 5.176 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 2.875e-05/0.003018, allocations: 19.91 kB / 1.001 GB, free: 5.156 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 3.155e-05/0.003049, allocations: 15.94 kB / 1.001 GB, free: 5.141 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0001333/0.003183, allocations: 79.62 kB / 1.001 GB, free: 5.062 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.003185, allocations: 4 kB / 1.001 GB, free: 5.059 MB / 0.9044 GB Notification: Performance of FrontEnd: time 6.21e-07/0.003186, allocations: 0 / 1.001 GB, free: 5.059 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.029e-05/0.003196, allocations: 0 / 1.001 GB, free: 5.059 MB / 0.9044 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.0005025/0.003699, allocations: 313.9 kB / 1.002 GB, free: 4.719 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.00374, allocations: 8.031 kB / 1.002 GB, free: 4.711 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.75e-05/0.003777, allocations: 12.83 kB / 1.002 GB, free: 4.699 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000213/0.00399, allocations: 129.7 kB / 1.002 GB, free: 4.547 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.004003, allocations: 384 / 1.002 GB, free: 4.547 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.111e-05/0.004025, allocations: 12.38 kB / 1.002 GB, free: 4.535 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000179/0.004204, allocations: 95.89 kB / 1.002 GB, free: 4.43 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.004215, allocations: 192 / 1.002 GB, free: 4.43 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.004229, allocations: 8.312 kB / 1.002 GB, free: 4.422 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.004235, allocations: 384 / 1.002 GB, free: 4.422 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.778e-05/0.004323, allocations: 43.86 kB / 1.002 GB, free: 4.379 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005596/0.004882, allocations: 352.5 kB / 1.002 GB, free: 4 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 7.762e-05/0.00496, allocations: 37.16 kB / 1.002 GB, free: 3.945 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.224e-05/0.005002, allocations: 25.86 kB / 1.002 GB, free: 3.914 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.257e-05/0.005015, allocations: 4 kB / 1.002 GB, free: 3.91 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/0.005044, allocations: 34.56 kB / 1.002 GB, free: 3.867 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.005045, allocations: 0 / 1.002 GB, free: 3.867 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2): time 0.0001968/0.005242, allocations: 49.59 kB / 1.002 GB, free: 3.812 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.309e-05/0.005305, allocations: 81.11 kB / 1.002 GB, free: 3.715 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000138/0.005443, allocations: 129.8 kB / 1.003 GB, free: 3.578 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.005463, allocations: 29.7 kB / 1.003 GB, free: 3.543 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 8.108e-05/0.005544, allocations: 107.9 kB / 1.003 GB, free: 3.434 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 9.488e-06/0.005553, allocations: 3.953 kB / 1.003 GB, free: 3.43 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.968e-05/0.005593, allocations: 21.95 kB / 1.003 GB, free: 3.402 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.005742, allocations: 318.8 kB / 1.003 GB, free: 3.082 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.933e-05/0.005762, allocations: 8 kB / 1.003 GB, free: 3.074 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.269e-05/0.005794, allocations: 21.7 kB / 1.003 GB, free: 3.047 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.221e-05/0.005846, allocations: 29.66 kB / 1.003 GB, free: 3.012 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.005848, allocations: 0 / 1.003 GB, free: 3.012 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.812e-05/0.005936, allocations: 49.64 kB / 1.003 GB, free: 2.957 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.005957, allocations: 10.34 kB / 1.003 GB, free: 2.949 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.005961, allocations: 0 / 1.003 GB, free: 2.949 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.005979, allocations: 4.062 kB / 1.003 GB, free: 2.945 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.2e-05/0.006051, allocations: 11.98 kB / 1.003 GB, free: 2.934 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.006061, allocations: 7.938 kB / 1.003 GB, free: 2.926 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.634e-05/0.006087, allocations: 7.891 kB / 1.003 GB, free: 2.918 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-06/0.006091, allocations: 0 / 1.003 GB, free: 2.918 MB / 0.9044 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.0001038/0.006195, allocations: 113.8 kB / 1.003 GB, free: 2.797 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.966e-05/0.006235, allocations: 4 kB / 1.003 GB, free: 2.793 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.484e-05/0.00626, allocations: 7.469 kB / 1.003 GB, free: 2.785 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.006261, allocations: 0 / 1.003 GB, free: 2.785 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.407e-06/0.00627, allocations: 3.984 kB / 1.003 GB, free: 2.781 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.006276, allocations: 7.938 kB / 1.003 GB, free: 2.773 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004058/0.006681, allocations: 414.4 kB / 1.004 GB, free: 2.324 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.006682, allocations: 0 / 1.004 GB, free: 2.324 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.188e-05/0.006704, allocations: 7.984 kB / 1.004 GB, free: 2.316 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.006706, allocations: 0 / 1.004 GB, free: 2.316 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.006715, allocations: 3.938 kB / 1.004 GB, free: 2.312 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.006717, allocations: 3.938 kB / 1.004 GB, free: 2.309 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.006718, allocations: 4.094 kB / 1.004 GB, free: 2.305 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.783e-05/0.006816, allocations: 73.92 kB / 1.004 GB, free: 2.211 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 2.24e-05/0.006838, allocations: 16.03 kB / 1.004 GB, free: 2.195 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.006853, allocations: 7.938 kB / 1.004 GB, free: 2.188 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.693e-05/0.006869, allocations: 0 / 1.004 GB, free: 2.188 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.903e-05/0.006889, allocations: 0 / 1.004 GB, free: 2.188 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.006893, allocations: 4 kB / 1.004 GB, free: 2.184 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 8.377e-05/0.006977, allocations: 101.9 kB / 1.004 GB, free: 2.086 MB / 0.9044 GB Notification: Performance of sort global known variables: time 6e-08/0.006977, allocations: 0 / 1.004 GB, free: 2.086 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001902/0.007167, allocations: 11.95 kB / 1.004 GB, free: 2.074 MB / 0.9044 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.0001411/0.007308, allocations: 95.23 kB / 1.004 GB, free: 1.969 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001029/0.007411, allocations: 27.92 kB / 1.004 GB, free: 1.941 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.007414, allocations: 0 / 1.004 GB, free: 1.941 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.156e-05/0.007425, allocations: 4 kB / 1.004 GB, free: 1.938 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001526/0.007578, allocations: 4 kB / 1.004 GB, free: 1.934 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004372/0.008015, allocations: 166.5 kB / 1.004 GB, free: 1.734 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.789e-05/0.008103, allocations: 75.33 kB / 1.004 GB, free: 1.641 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.433e-05/0.008137, allocations: 8.25 kB / 1.004 GB, free: 1.633 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.372e-05/0.008171, allocations: 12.5 kB / 1.004 GB, free: 1.621 MB / 0.9044 GB Notification: Performance of SimCode: time 4.21e-07/0.008171, allocations: 0 / 1.004 GB, free: 1.621 MB / 0.9044 GB Notification: Performance of Templates: time 0.00293/0.0111, allocations: 341.4 kB / 1.005 GB, free: 1.289 MB / 0.9044 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.49182327836752]