Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001723/0.001723, allocations: 95.92 kB / 19.7 MB, free: 2.129 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.002181/0.002181, allocations: 211.6 kB / 23 MB, free: 4.934 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.63/1.63, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.511/3.511, allocations: 0.49 GB / 0.7959 GB, free: 35.36 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.To_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.UnitConversions.Validation.To_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.002249/0.002249, allocations: 68.44 kB / 1.155 GB, free: 25.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4193/0.4216, allocations: 176.1 MB / 1.327 GB, free: 1 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.002171/0.4238, allocations: 0.7963 MB / 1.328 GB, free: 216 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001177/0.4239, allocations: 43.72 kB / 1.328 GB, free: 172 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.865e-05/0.4239, allocations: 4 kB / 1.328 GB, free: 168 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.765e-05/0.424, allocations: 11.81 kB / 1.328 GB, free: 156 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.85e-05/0.4241, allocations: 7.875 kB / 1.328 GB, free: 148 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 5.364e-05/0.4241, allocations: 23.98 kB / 1.328 GB, free: 124 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001181/0.4242, allocations: 63.83 kB / 1.328 GB, free: 60 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001439/0.4244, allocations: 31.98 kB / 1.328 GB, free: 28 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.929e-05/0.4244, allocations: 23.86 kB / 1.328 GB, free: 4 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.418e-05/0.4245, allocations: 31.8 kB / 1.328 GB, free: 15.97 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.141e-05/0.4245, allocations: 4 kB / 1.328 GB, free: 15.97 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.503e-05/0.4246, allocations: 8 kB / 1.328 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.333e-05/0.4246, allocations: 15.92 kB / 1.328 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.84e-05/0.4246, allocations: 27.86 kB / 1.328 GB, free: 15.92 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001354/0.4248, allocations: 87.5 kB / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.4248, allocations: 4 kB / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.723e-06/0.4248, allocations: 3.938 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.548e-06/0.4248, allocations: 0 / 1.328 GB, free: 15.82 MB / 1.029 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.000453/0.4252, allocations: 302 kB / 1.329 GB, free: 15.5 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.4253, allocations: 8.031 kB / 1.329 GB, free: 15.49 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.465e-05/0.4253, allocations: 8.891 kB / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001961/0.4255, allocations: 134.4 kB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.4255, allocations: 8.375 kB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.434e-05/0.4255, allocations: 4.375 kB / 1.329 GB, free: 15.31 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001676/0.4257, allocations: 101.5 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.4257, allocations: 4.188 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.4257, allocations: 7.938 kB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.4257, allocations: 0 / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.952e-05/0.4258, allocations: 39.92 kB / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005473/0.4263, allocations: 352.5 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 6.276e-05/0.4264, allocations: 37.19 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.844e-05/0.4264, allocations: 25.83 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 6.973e-06/0.4265, allocations: 0 / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.044e-05/0.4265, allocations: 30.56 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.183e-06/0.4265, allocations: 8 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0001747/0.4267, allocations: 57.52 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/0.4267, allocations: 77.11 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/0.4268, allocations: 130.8 kB / 1.33 GB, free: 14.35 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.4269, allocations: 25.7 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.498e-05/0.4269, allocations: 107.9 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.137e-05/0.4269, allocations: 7.953 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.172e-05/0.427, allocations: 13.72 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.4271, allocations: 326.8 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.699e-05/0.4271, allocations: 8.25 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.384e-05/0.4272, allocations: 17.72 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.966e-05/0.4272, allocations: 25.66 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.4272, allocations: 0 / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.76e-05/0.4273, allocations: 61.58 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.4273, allocations: 8 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.4273, allocations: 3.938 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.4273, allocations: 3.938 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.99e-05/0.4274, allocations: 16.06 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.96e-06/0.4274, allocations: 0 / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.385e-05/0.4274, allocations: 0 / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.847e-06/0.4274, allocations: 0 / 1.33 GB, free: 13.69 MB / 1.029 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 9.64e-05/0.4275, allocations: 121.8 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.363e-05/0.4276, allocations: 7.953 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.824e-05/0.4276, allocations: 11.47 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.4276, allocations: 3.938 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.4276, allocations: 0 / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.012e-05/0.4276, allocations: 4 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.262e-05/0.4277, allocations: 3.984 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.071e-05/0.4277, allocations: 4 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.011e-05/0.4277, allocations: 0 / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001295/0.4279, allocations: 196.2 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000183/0.4281, allocations: 301.9 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.869e-05/0.4281, allocations: 4 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000137/0.4282, allocations: 100.5 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of Backend: time 2.61e-07/0.4282, allocations: 0 / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004181/0.4286, allocations: 96.14 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of SimCode: time 0.0006329/0.4293, allocations: 0.6043 MB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of Templates: time 0.00287/0.4321, allocations: 454.7 kB / 1.332 GB, free: 11.71 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_ton.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.726932998048142]