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.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.001469/0.001469, allocations: 104.5 kB / 18.84 MB, free: 3.043 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.001568/0.001568, allocations: 190.5 kB / 22.1 MB, free: 5.152 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.566/1.566, allocations: 225.6 MB / 250.8 MB, free: 13.06 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.323/3.323, allocations: 495.8 MB / 0.783 GB, free: 33.57 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-maint.12.x/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_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: Performance of FrontEnd - loaded program: time 0.002051/0.002051, allocations: 66.2 kB / 1.137 GB, free: 33.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4834/0.4854, allocations: 173.6 MB / 1.307 GB, free: 1.797 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.003543/0.489, allocations: 0.8301 MB / 1.308 GB, free: 0.9688 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001845/0.4892, allocations: 39.8 kB / 1.308 GB, free: 0.9297 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.682e-05/0.4892, allocations: 0 / 1.308 GB, free: 0.9297 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 6.718e-05/0.4893, allocations: 15.86 kB / 1.308 GB, free: 0.9141 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001062/0.4894, allocations: 11.88 kB / 1.308 GB, free: 0.9023 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 9.264e-05/0.4895, allocations: 15.98 kB / 1.308 GB, free: 0.8867 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001883/0.4897, allocations: 59.84 kB / 1.308 GB, free: 0.8281 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002187/0.4899, allocations: 39.92 kB / 1.308 GB, free: 0.7891 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.551e-05/0.49, allocations: 19.94 kB / 1.308 GB, free: 0.7695 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.888e-05/0.4901, allocations: 35.72 kB / 1.308 GB, free: 0.7344 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.762e-05/0.4901, allocations: 4 kB / 1.308 GB, free: 0.7305 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.004e-05/0.4902, allocations: 8 kB / 1.308 GB, free: 0.7227 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.64e-05/0.4902, allocations: 15.92 kB / 1.308 GB, free: 0.707 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 6.82e-05/0.4903, allocations: 35.8 kB / 1.308 GB, free: 0.6719 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001883/0.4904, allocations: 75.59 kB / 1.308 GB, free: 0.5977 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/0.4905, allocations: 0 / 1.308 GB, free: 0.5977 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.905e-06/0.4905, allocations: 0 / 1.308 GB, free: 0.5977 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.303e-05/0.4905, allocations: 0 / 1.308 GB, free: 0.5977 MB / 0.9981 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.0006433/0.4911, allocations: 306 kB / 1.308 GB, free: 272 kB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/0.4912, allocations: 8.031 kB / 1.308 GB, free: 264 kB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.773e-05/0.4912, allocations: 12.84 kB / 1.308 GB, free: 252 kB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002864/0.4915, allocations: 146.2 kB / 1.308 GB, free: 80 kB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.42e-05/0.4915, allocations: 12.36 kB / 1.308 GB, free: 68 kB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.147e-05/0.4916, allocations: 8.375 kB / 1.308 GB, free: 60 kB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002818/0.4918, allocations: 95.88 kB / 1.308 GB, free: 15.95 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.4918, allocations: 192 / 1.308 GB, free: 15.95 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.246e-05/0.4919, allocations: 11.88 kB / 1.309 GB, free: 15.94 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.014e-06/0.4919, allocations: 0 / 1.309 GB, free: 15.94 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001402/0.492, allocations: 35.98 kB / 1.309 GB, free: 15.91 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008603/0.4929, allocations: 399.8 kB / 1.309 GB, free: 15.47 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 9.289e-05/0.493, allocations: 37.16 kB / 1.309 GB, free: 15.41 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.558e-05/0.493, allocations: 21.83 kB / 1.309 GB, free: 15.39 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.028e-05/0.493, allocations: 0 / 1.309 GB, free: 15.39 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.787e-05/0.4931, allocations: 42.59 kB / 1.309 GB, free: 15.34 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.363e-06/0.4931, allocations: 0 / 1.309 GB, free: 15.34 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0002802/0.4934, allocations: 57.53 kB / 1.309 GB, free: 15.27 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.339e-05/0.4935, allocations: 77.11 kB / 1.309 GB, free: 15.18 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002783/0.4937, allocations: 162.7 kB / 1.309 GB, free: 15.02 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.724e-05/0.4938, allocations: 25.7 kB / 1.309 GB, free: 14.98 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.4939, allocations: 104.3 kB / 1.309 GB, free: 14.88 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.563e-05/0.4939, allocations: 7.953 kB / 1.309 GB, free: 14.87 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.701e-05/0.494, allocations: 21.67 kB / 1.309 GB, free: 14.84 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002044/0.4942, allocations: 322.8 kB / 1.31 GB, free: 14.52 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.056e-05/0.4942, allocations: 4 kB / 1.31 GB, free: 14.52 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.861e-05/0.4942, allocations: 21.7 kB / 1.31 GB, free: 14.49 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.445e-05/0.4943, allocations: 29.66 kB / 1.31 GB, free: 14.45 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.4943, allocations: 0 / 1.31 GB, free: 14.45 MB / 1.014 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001611/0.4945, allocations: 61.64 kB / 1.31 GB, free: 14.39 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.417e-05/0.4945, allocations: 8 kB / 1.31 GB, free: 14.38 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.4945, allocations: 3.938 kB / 1.31 GB, free: 14.38 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.4945, allocations: 0 / 1.31 GB, free: 14.38 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.98e-05/0.4946, allocations: 11.94 kB / 1.31 GB, free: 14.36 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/0.4946, allocations: 0 / 1.31 GB, free: 14.36 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.821e-05/0.4947, allocations: 0 / 1.31 GB, free: 14.36 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.4947, allocations: 7.938 kB / 1.31 GB, free: 14.36 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 0.0001453/0.4948, allocations: 122.6 kB / 1.31 GB, free: 14.23 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.95e-05/0.4949, allocations: 7.953 kB / 1.31 GB, free: 14.22 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.673e-05/0.495, allocations: 15.73 kB / 1.31 GB, free: 14.2 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.495, allocations: 0 / 1.31 GB, free: 14.2 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.495, allocations: 4 kB / 1.31 GB, free: 14.2 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.495, allocations: 0 / 1.31 GB, free: 14.2 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006205/0.4956, allocations: 457.7 kB / 1.31 GB, free: 13.7 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.4956, allocations: 0 / 1.31 GB, free: 13.7 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.892e-05/0.4956, allocations: 4 kB / 1.31 GB, free: 13.69 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.4956, allocations: 3.938 kB / 1.31 GB, free: 13.69 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.4956, allocations: 0 / 1.31 GB, free: 13.69 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.4956, allocations: 0 / 1.31 GB, free: 13.69 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.4957, allocations: 4 kB / 1.31 GB, free: 13.68 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001341/0.4958, allocations: 85.88 kB / 1.311 GB, free: 13.58 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 3.726e-05/0.4958, allocations: 11.95 kB / 1.311 GB, free: 13.57 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.275e-05/0.4958, allocations: 3.984 kB / 1.311 GB, free: 13.56 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.414e-05/0.4959, allocations: 0 / 1.311 GB, free: 13.56 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.597e-05/0.4959, allocations: 0 / 1.311 GB, free: 13.56 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-06/0.4959, allocations: 4 kB / 1.311 GB, free: 13.56 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001378/0.496, allocations: 115.2 kB / 1.311 GB, free: 13.45 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/0.496, allocations: 4 kB / 1.311 GB, free: 13.44 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003313/0.4964, allocations: 4 kB / 1.311 GB, free: 13.44 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.0001397/0.4965, allocations: 99.28 kB / 1.311 GB, free: 13.33 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001262/0.4966, allocations: 19.94 kB / 1.311 GB, free: 13.31 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.4966, allocations: 0 / 1.311 GB, free: 13.31 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 2.252e-05/0.4967, allocations: 11.98 kB / 1.311 GB, free: 13.3 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000255/0.4969, allocations: 11.62 kB / 1.311 GB, free: 13.29 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000469/0.4974, allocations: 158.9 kB / 1.311 GB, free: 13.1 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004172/0.4978, allocations: 0.6885 MB / 1.312 GB, free: 12.39 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.807e-05/0.4979, allocations: 8.422 kB / 1.312 GB, free: 12.38 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.702e-05/0.4979, allocations: 11.44 kB / 1.312 GB, free: 12.37 MB / 1.014 GB Notification: Performance of SimCode: time 3.31e-07/0.4979, allocations: 3.938 kB / 1.312 GB, free: 12.36 MB / 1.014 GB Notification: Performance of Templates: time 0.004706/0.5026, allocations: 492.5 kB / 1.312 GB, free: 11.88 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/jenkins/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: 9.75534329470247]