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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 110.2 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001595/0.001595, allocations: 192 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.523/1.523, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.214/3.214, allocations: 0.4893 GB / 0.7884 GB, free: 33.21 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001961/0.001961, allocations: 74.44 kB / 1.145 GB, free: 30.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4073/0.4092, allocations: 174.9 MB / 1.316 GB, free: 9.719 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.002265/0.4115, allocations: 0.8295 MB / 1.317 GB, free: 8.891 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001235/0.4116, allocations: 47.78 kB / 1.317 GB, free: 8.844 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.642e-05/0.4117, allocations: 0 / 1.317 GB, free: 8.844 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.4e-05/0.4117, allocations: 11.86 kB / 1.317 GB, free: 8.832 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.428e-05/0.4118, allocations: 3.938 kB / 1.317 GB, free: 8.828 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 5.758e-05/0.4118, allocations: 19.98 kB / 1.317 GB, free: 8.809 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001286/0.412, allocations: 63.78 kB / 1.317 GB, free: 8.746 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001518/0.4121, allocations: 39.97 kB / 1.317 GB, free: 8.707 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.195e-05/0.4122, allocations: 27.86 kB / 1.317 GB, free: 8.68 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.296e-05/0.4122, allocations: 23.86 kB / 1.317 GB, free: 8.656 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.048e-05/0.4123, allocations: 4 kB / 1.317 GB, free: 8.652 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.13e-05/0.4123, allocations: 8 kB / 1.317 GB, free: 8.645 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.287e-05/0.4123, allocations: 15.92 kB / 1.317 GB, free: 8.629 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.8e-05/0.4124, allocations: 39.73 kB / 1.317 GB, free: 8.59 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001302/0.4125, allocations: 79.52 kB / 1.317 GB, free: 8.512 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.4125, allocations: 0 / 1.317 GB, free: 8.512 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.543e-06/0.4125, allocations: 0 / 1.317 GB, free: 8.512 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.969e-06/0.4125, allocations: 0 / 1.317 GB, free: 8.512 MB / 1.014 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.0004414/0.4129, allocations: 310 kB / 1.318 GB, free: 8.176 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.413, allocations: 8.031 kB / 1.318 GB, free: 8.168 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.054e-05/0.413, allocations: 12.89 kB / 1.318 GB, free: 8.156 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001965/0.4132, allocations: 134.4 kB / 1.318 GB, free: 8 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.4132, allocations: 4.375 kB / 1.318 GB, free: 7.996 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.561e-05/0.4132, allocations: 8.375 kB / 1.318 GB, free: 7.988 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002115/0.4135, allocations: 87.95 kB / 1.318 GB, free: 7.891 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.4135, allocations: 4.188 kB / 1.318 GB, free: 7.887 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.229e-05/0.4135, allocations: 11.94 kB / 1.318 GB, free: 7.875 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.4135, allocations: 3.938 kB / 1.318 GB, free: 7.871 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.061e-05/0.4136, allocations: 39.92 kB / 1.318 GB, free: 7.832 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005546/0.4141, allocations: 403.7 kB / 1.318 GB, free: 7.391 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 6.892e-05/0.4142, allocations: 45.34 kB / 1.318 GB, free: 7.328 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.263e-05/0.4142, allocations: 13.78 kB / 1.318 GB, free: 7.309 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.074e-05/0.4142, allocations: 0 / 1.318 GB, free: 7.309 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/0.4143, allocations: 34.56 kB / 1.318 GB, free: 7.266 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.4143, allocations: 0 / 1.318 GB, free: 7.266 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0001808/0.4145, allocations: 65.52 kB / 1.318 GB, free: 7.195 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.256e-05/0.4145, allocations: 77.11 kB / 1.318 GB, free: 7.102 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001635/0.4147, allocations: 160.7 kB / 1.319 GB, free: 6.938 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.357e-05/0.4147, allocations: 25.7 kB / 1.319 GB, free: 6.906 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 8.563e-05/0.4148, allocations: 108 kB / 1.319 GB, free: 6.797 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.284e-05/0.4148, allocations: 7.891 kB / 1.319 GB, free: 6.789 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-05/0.4148, allocations: 21.66 kB / 1.319 GB, free: 6.762 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.415, allocations: 327.1 kB / 1.319 GB, free: 6.434 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.771e-05/0.415, allocations: 4 kB / 1.319 GB, free: 6.43 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.575e-05/0.415, allocations: 17.72 kB / 1.319 GB, free: 6.406 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.286e-05/0.4151, allocations: 25.7 kB / 1.319 GB, free: 6.375 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.4151, allocations: 0 / 1.319 GB, free: 6.375 MB / 1.014 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.89e-05/0.4151, allocations: 61.59 kB / 1.319 GB, free: 6.309 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.4152, allocations: 8.062 kB / 1.319 GB, free: 6.301 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.4152, allocations: 3.938 kB / 1.319 GB, free: 6.297 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.4152, allocations: 96 / 1.319 GB, free: 6.297 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.935e-05/0.4152, allocations: 11.98 kB / 1.319 GB, free: 6.285 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.4153, allocations: 0 / 1.319 GB, free: 6.285 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.685e-05/0.4153, allocations: 3.984 kB / 1.319 GB, free: 6.281 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.057e-06/0.4153, allocations: 4 kB / 1.319 GB, free: 6.277 MB / 1.014 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 8.718e-05/0.4154, allocations: 115.2 kB / 1.319 GB, free: 6.156 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.295e-05/0.4154, allocations: 11.91 kB / 1.319 GB, free: 6.145 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.507e-05/0.4154, allocations: 19.69 kB / 1.319 GB, free: 6.121 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.4154, allocations: 4 kB / 1.319 GB, free: 6.117 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.4154, allocations: 0 / 1.319 GB, free: 6.117 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.4154, allocations: 3.984 kB / 1.319 GB, free: 6.113 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005123/0.416, allocations: 445.8 kB / 1.32 GB, free: 5.621 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.416, allocations: 0 / 1.32 GB, free: 5.621 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.974e-05/0.416, allocations: 4 kB / 1.32 GB, free: 5.617 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.416, allocations: 4.062 kB / 1.32 GB, free: 5.613 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.416, allocations: 0 / 1.32 GB, free: 5.613 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.416, allocations: 4 kB / 1.32 GB, free: 5.609 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.416, allocations: 3.938 kB / 1.32 GB, free: 5.605 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.075e-05/0.4161, allocations: 77.88 kB / 1.32 GB, free: 5.508 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 4.196e-05/0.4161, allocations: 11.95 kB / 1.32 GB, free: 5.496 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.88e-05/0.4161, allocations: 0 / 1.32 GB, free: 5.496 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.289e-05/0.4162, allocations: 8.031 kB / 1.32 GB, free: 5.488 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.006e-05/0.4162, allocations: 7.938 kB / 1.32 GB, free: 5.48 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-06/0.4162, allocations: 0 / 1.32 GB, free: 5.48 MB / 1.014 GB Notification: Performance of sorting global known variables: time 9.923e-05/0.4163, allocations: 121.5 kB / 1.32 GB, free: 5.363 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.4163, allocations: 0 / 1.32 GB, free: 5.363 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0001792/0.4165, allocations: 8 kB / 1.32 GB, free: 5.355 MB / 1.014 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.0001175/0.4166, allocations: 99.17 kB / 1.32 GB, free: 5.25 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 9.126e-05/0.4167, allocations: 20 kB / 1.32 GB, free: 5.23 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.4167, allocations: 0 / 1.32 GB, free: 5.23 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.439e-05/0.4167, allocations: 11.94 kB / 1.32 GB, free: 5.219 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001534/0.4169, allocations: 13.72 kB / 1.32 GB, free: 5.207 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003357/0.4172, allocations: 162.6 kB / 1.32 GB, free: 5.012 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003618/0.4176, allocations: 0.6965 MB / 1.321 GB, free: 4.289 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.427e-05/0.4176, allocations: 8.422 kB / 1.321 GB, free: 4.281 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.602e-05/0.4176, allocations: 11.44 kB / 1.321 GB, free: 4.27 MB / 1.014 GB Notification: Performance of SimCode: time 3.01e-07/0.4176, allocations: 0 / 1.321 GB, free: 4.27 MB / 1.014 GB Notification: Performance of Templates: time 0.002956/0.4206, allocations: 484.4 kB / 1.321 GB, free: 3.797 MB / 1.014 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: 9.018086987547576]