Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001673/0.001673, allocations: 116.4 kB / 17.13 MB, free: 6.004 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.001908/0.001908, allocations: 215.2 kB / 20.1 MB, free: 3.051 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.505/1.505, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.039/3.039, allocations: 0.49 GB / 0.7923 GB, free: 1.371 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002049/0.002049, allocations: 67.89 kB / 1.15 GB, free: 13.99 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.123/1.125, allocations: 176.1 MB / 1.322 GB, free: 7.816 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.002146/1.127, allocations: 0.827 MB / 1.323 GB, free: 7.184 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001279/1.127, allocations: 41.27 kB / 1.323 GB, free: 7.148 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.688e-05/1.127, allocations: 5.344 kB / 1.323 GB, free: 7.145 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.83e-05/1.127, allocations: 7.875 kB / 1.323 GB, free: 7.137 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.284e-05/1.127, allocations: 13.36 kB / 1.323 GB, free: 7.125 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 6.591e-05/1.128, allocations: 18.83 kB / 1.323 GB, free: 7.109 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001202/1.128, allocations: 62.95 kB / 1.323 GB, free: 7.07 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/1.128, allocations: 25.42 kB / 1.323 GB, free: 7.055 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.957e-05/1.128, allocations: 33.05 kB / 1.323 GB, free: 7.031 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.594e-05/1.128, allocations: 28.52 kB / 1.323 GB, free: 7.008 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.223e-05/1.128, allocations: 5.531 kB / 1.323 GB, free: 7.008 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.011e-05/1.128, allocations: 6.344 kB / 1.323 GB, free: 7.008 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.309e-05/1.128, allocations: 14.11 kB / 1.323 GB, free: 6.996 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.558e-05/1.128, allocations: 38.28 kB / 1.323 GB, free: 6.965 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001268/1.128, allocations: 71.91 kB / 1.323 GB, free: 6.914 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/1.128, allocations: 3.938 kB / 1.323 GB, free: 6.91 MB / 1.014 GB Notification: Performance of FrontEnd: time 4.509e-06/1.128, allocations: 5.109 kB / 1.323 GB, free: 6.906 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.121e-06/1.128, allocations: 0 / 1.323 GB, free: 6.906 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.0005039/1.129, allocations: 378.5 kB / 1.324 GB, free: 6.508 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/1.129, allocations: 13.39 kB / 1.324 GB, free: 6.504 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.751e-05/1.129, allocations: 9.766 kB / 1.324 GB, free: 6.5 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002338/1.129, allocations: 198.7 kB / 1.324 GB, free: 6.277 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.736e-06/1.129, allocations: 2.969 kB / 1.324 GB, free: 6.277 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.774e-05/1.129, allocations: 9.281 kB / 1.324 GB, free: 6.273 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/1.129, allocations: 92.2 kB / 1.324 GB, free: 6.199 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/1.129, allocations: 4.125 kB / 1.324 GB, free: 6.195 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/1.129, allocations: 9.562 kB / 1.324 GB, free: 6.188 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/1.129, allocations: 1.219 kB / 1.324 GB, free: 6.188 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.522e-05/1.129, allocations: 36.36 kB / 1.324 GB, free: 6.172 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005826/1.13, allocations: 440 kB / 1.324 GB, free: 5.73 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 7.483e-05/1.13, allocations: 40.77 kB / 1.324 GB, free: 5.676 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.049e-05/1.13, allocations: 23.84 kB / 1.324 GB, free: 5.652 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 7.244e-06/1.13, allocations: 4 kB / 1.324 GB, free: 5.648 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/1.13, allocations: 31.75 kB / 1.324 GB, free: 5.609 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/1.13, allocations: 0 / 1.324 GB, free: 5.609 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0001791/1.13, allocations: 67.44 kB / 1.324 GB, free: 5.551 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.332e-05/1.13, allocations: 82.17 kB / 1.325 GB, free: 5.453 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/1.13, allocations: 157.2 kB / 1.325 GB, free: 5.324 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/1.13, allocations: 27.36 kB / 1.325 GB, free: 5.293 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 8.176e-05/1.13, allocations: 108.3 kB / 1.325 GB, free: 5.188 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 9.718e-06/1.13, allocations: 7.938 kB / 1.325 GB, free: 5.18 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.514e-05/1.131, allocations: 18.28 kB / 1.325 GB, free: 5.16 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001429/1.131, allocations: 316.5 kB / 1.325 GB, free: 4.844 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.894e-05/1.131, allocations: 8.172 kB / 1.325 GB, free: 4.84 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.5e-05/1.131, allocations: 17.53 kB / 1.325 GB, free: 4.82 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.618e-05/1.131, allocations: 30.88 kB / 1.325 GB, free: 4.793 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/1.131, allocations: 0 / 1.325 GB, free: 4.793 MB / 1.014 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.349e-05/1.131, allocations: 59.05 kB / 1.325 GB, free: 4.746 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/1.131, allocations: 9.5 kB / 1.325 GB, free: 4.742 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/1.131, allocations: 5.344 kB / 1.325 GB, free: 4.738 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.644e-05/1.131, allocations: 96 / 1.325 GB, free: 4.738 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.424e-05/1.131, allocations: 9.547 kB / 1.325 GB, free: 4.734 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/1.131, allocations: 1.375 kB / 1.325 GB, free: 4.734 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.475e-05/1.131, allocations: 14.39 kB / 1.325 GB, free: 4.723 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.148e-06/1.131, allocations: 1.031 kB / 1.325 GB, free: 4.723 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.575e-05/1.131, allocations: 117.3 kB / 1.325 GB, free: 4.602 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.354e-05/1.131, allocations: 8.453 kB / 1.325 GB, free: 4.598 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.619e-05/1.131, allocations: 14.09 kB / 1.325 GB, free: 4.582 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/1.131, allocations: 1.125 kB / 1.325 GB, free: 4.582 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/1.131, allocations: 1.156 kB / 1.325 GB, free: 4.582 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/1.131, allocations: 0 / 1.325 GB, free: 4.582 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000431/1.132, allocations: 470.9 kB / 1.326 GB, free: 4.082 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/1.132, allocations: 0 / 1.326 GB, free: 4.082 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.159e-05/1.132, allocations: 7.5 kB / 1.326 GB, free: 4.078 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/1.132, allocations: 5.234 kB / 1.326 GB, free: 4.074 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-06/1.132, allocations: 3.938 kB / 1.326 GB, free: 4.07 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/1.132, allocations: 1.531 kB / 1.326 GB, free: 4.07 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/1.132, allocations: 0 / 1.326 GB, free: 4.07 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001029/1.132, allocations: 91.16 kB / 1.326 GB, free: 3.973 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 5.936e-05/1.132, allocations: 87.14 kB / 1.326 GB, free: 3.871 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.386e-05/1.132, allocations: 2.344 kB / 1.326 GB, free: 3.871 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.021e-05/1.132, allocations: 3.938 kB / 1.326 GB, free: 3.867 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.766e-05/1.132, allocations: 1 kB / 1.326 GB, free: 3.867 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/1.132, allocations: 1.031 kB / 1.326 GB, free: 3.867 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001058/1.132, allocations: 125.9 kB / 1.326 GB, free: 3.77 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.1e-07/1.132, allocations: 4.031 kB / 1.326 GB, free: 3.766 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0001863/1.132, allocations: 6.625 kB / 1.326 GB, free: 3.766 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.0001307/1.132, allocations: 97.03 kB / 1.326 GB, free: 3.68 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 9.238e-05/1.132, allocations: 21.58 kB / 1.326 GB, free: 3.668 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/1.132, allocations: 0.8438 kB / 1.326 GB, free: 3.668 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 9.688e-06/1.132, allocations: 3.625 kB / 1.326 GB, free: 3.668 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001608/1.133, allocations: 14.97 kB / 1.326 GB, free: 3.656 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003712/1.133, allocations: 196.1 kB / 1.327 GB, free: 3.457 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003358/1.133, allocations: 0.6916 MB / 1.327 GB, free: 2.754 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.771e-05/1.133, allocations: 11.44 kB / 1.327 GB, free: 2.746 MB / 1.014 GB Notification: Performance of SimCode: time 2.91e-07/1.133, allocations: 0 / 1.327 GB, free: 2.746 MB / 1.014 GB Notification: Performance of Templates: time 0.002514/1.136, allocations: 0.8665 MB / 1.328 GB, free: 2.305 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_ton.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.587893877993338]