Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.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.00138/0.00138, allocations: 79.5 kB / 19.76 MB, free: 2.031 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.001437/0.001437, allocations: 158.9 kB / 23.01 MB, free: 4.945 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.532/1.532, allocations: 177.2 MB / 203.4 MB, free: 8.945 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.967/2.967, allocations: 394.2 MB / 0.6386 GB, free: 11.91 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") [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.003102/0.003102, allocations: 72.16 kB / 1.009 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.055/1.058, allocations: 181.8 MB / 1.187 GB, free: 16.23 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.002355/1.06, allocations: 0.7952 MB / 1.187 GB, free: 15.73 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.00014/1.061, allocations: 41.02 kB / 1.187 GB, free: 15.7 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.499e-05/1.061, allocations: 5.375 kB / 1.187 GB, free: 15.7 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 4.003e-05/1.061, allocations: 6.141 kB / 1.187 GB, free: 15.69 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 9.59e-05/1.061, allocations: 9.859 kB / 1.187 GB, free: 15.68 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 5.079e-05/1.061, allocations: 19.67 kB / 1.187 GB, free: 15.67 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.000138/1.061, allocations: 67.7 kB / 1.188 GB, free: 15.64 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001717/1.061, allocations: 32.05 kB / 1.188 GB, free: 15.62 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 8.853e-05/1.061, allocations: 26.8 kB / 1.188 GB, free: 15.61 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 7.568e-05/1.061, allocations: 22.09 kB / 1.188 GB, free: 15.6 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.193e-05/1.061, allocations: 10.81 kB / 1.188 GB, free: 15.59 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 1.258e-05/1.061, allocations: 9.438 kB / 1.188 GB, free: 15.59 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.217e-05/1.061, allocations: 8.766 kB / 1.188 GB, free: 15.59 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 4.187e-05/1.061, allocations: 32.56 kB / 1.188 GB, free: 15.56 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001484/1.062, allocations: 80.25 kB / 1.188 GB, free: 15.53 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/1.062, allocations: 0 / 1.188 GB, free: 15.53 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.044e-06/1.062, allocations: 0 / 1.188 GB, free: 15.53 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.504e-06/1.062, allocations: 0 / 1.188 GB, free: 15.53 MB / 1.076 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.0004187/1.062, allocations: 300.5 kB / 1.188 GB, free: 15.23 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/1.062, allocations: 10.38 kB / 1.188 GB, free: 15.23 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.146e-05/1.062, allocations: 12.97 kB / 1.188 GB, free: 15.23 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001807/1.062, allocations: 133.7 kB / 1.188 GB, free: 15.09 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/1.062, allocations: 11.06 kB / 1.188 GB, free: 15.08 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.534e-05/1.062, allocations: 10.62 kB / 1.188 GB, free: 15.07 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000174/1.062, allocations: 93.98 kB / 1.188 GB, free: 15 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/1.062, allocations: 1.281 kB / 1.188 GB, free: 15 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/1.063, allocations: 9.062 kB / 1.188 GB, free: 15 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/1.063, allocations: 1.062 kB / 1.188 GB, free: 15 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.797e-05/1.063, allocations: 36.31 kB / 1.188 GB, free: 14.98 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004225/1.063, allocations: 356.6 kB / 1.189 GB, free: 14.66 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 5.367e-05/1.063, allocations: 38.92 kB / 1.189 GB, free: 14.61 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.236e-05/1.063, allocations: 24.27 kB / 1.189 GB, free: 14.58 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 8.656e-06/1.063, allocations: 9.078 kB / 1.189 GB, free: 14.57 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.935e-05/1.063, allocations: 32.19 kB / 1.189 GB, free: 14.54 MB / 1.076 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/1.063, allocations: 1 kB / 1.189 GB, free: 14.54 MB / 1.076 GB Notification: Performance of matching and sorting (n=2): time 0.0001629/1.063, allocations: 54.48 kB / 1.189 GB, free: 14.49 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/1.063, allocations: 82.89 kB / 1.189 GB, free: 14.39 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/1.063, allocations: 124.5 kB / 1.189 GB, free: 14.29 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 8.907e-06/1.063, allocations: 26.8 kB / 1.189 GB, free: 14.25 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.734e-05/1.064, allocations: 113 kB / 1.189 GB, free: 14.15 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 9.598e-06/1.064, allocations: 10.48 kB / 1.189 GB, free: 14.14 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.854e-05/1.064, allocations: 17.73 kB / 1.189 GB, free: 14.12 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 6.9e-05/1.064, allocations: 318.7 kB / 1.189 GB, free: 13.8 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.62e-05/1.064, allocations: 7.969 kB / 1.189 GB, free: 13.8 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.138e-05/1.064, allocations: 20.58 kB / 1.19 GB, free: 13.78 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.846e-05/1.064, allocations: 27.17 kB / 1.19 GB, free: 13.76 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/1.064, allocations: 1.531 kB / 1.19 GB, free: 13.76 MB / 1.076 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.614e-05/1.064, allocations: 51.72 kB / 1.19 GB, free: 13.72 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/1.064, allocations: 5.719 kB / 1.19 GB, free: 13.72 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/1.064, allocations: 4 kB / 1.19 GB, free: 13.71 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/1.064, allocations: 9.156 kB / 1.19 GB, free: 13.71 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.387e-05/1.064, allocations: 7.484 kB / 1.19 GB, free: 13.71 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/1.064, allocations: 1.594 kB / 1.19 GB, free: 13.71 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.425e-05/1.064, allocations: 3.953 kB / 1.19 GB, free: 13.7 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/1.064, allocations: 1.312 kB / 1.19 GB, free: 13.7 MB / 1.076 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 6.002e-05/1.064, allocations: 115.2 kB / 1.19 GB, free: 13.59 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.715e-05/1.064, allocations: 3.375 kB / 1.19 GB, free: 13.59 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.327e-05/1.064, allocations: 13.7 kB / 1.19 GB, free: 13.57 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/1.064, allocations: 6.453 kB / 1.19 GB, free: 13.57 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/1.064, allocations: 0 / 1.19 GB, free: 13.57 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/1.064, allocations: 1.188 kB / 1.19 GB, free: 13.57 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002645/1.064, allocations: 412.8 kB / 1.19 GB, free: 13.15 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/1.064, allocations: 4.969 kB / 1.19 GB, free: 13.15 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.894e-05/1.064, allocations: 3.203 kB / 1.19 GB, free: 13.15 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/1.064, allocations: 1.312 kB / 1.19 GB, free: 13.15 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.124e-06/1.064, allocations: 5.375 kB / 1.19 GB, free: 13.14 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/1.064, allocations: 4.703 kB / 1.19 GB, free: 13.14 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/1.064, allocations: 1.281 kB / 1.19 GB, free: 13.14 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.545e-05/1.064, allocations: 77.39 kB / 1.19 GB, free: 13.06 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.113e-05/1.064, allocations: 15.31 kB / 1.19 GB, free: 13.05 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.281e-05/1.064, allocations: 1.828 kB / 1.19 GB, free: 13.05 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.733e-05/1.064, allocations: 0.5156 kB / 1.19 GB, free: 13.05 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.436e-05/1.064, allocations: 2.078 kB / 1.19 GB, free: 13.05 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.355e-06/1.064, allocations: 1.188 kB / 1.19 GB, free: 13.05 MB / 1.076 GB Notification: Performance of sorting global known variables: time 5.105e-05/1.065, allocations: 103.2 kB / 1.19 GB, free: 12.96 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/1.065, allocations: 0 / 1.19 GB, free: 12.96 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0001837/1.065, allocations: 15.55 kB / 1.19 GB, free: 12.96 MB / 1.076 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 8.54e-05/1.065, allocations: 101.6 kB / 1.19 GB, free: 12.86 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001028/1.065, allocations: 16.91 kB / 1.19 GB, free: 12.86 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/1.065, allocations: 0 / 1.19 GB, free: 12.86 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.171e-05/1.065, allocations: 8.078 kB / 1.19 GB, free: 12.86 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001519/1.065, allocations: 11.14 kB / 1.191 GB, free: 12.85 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002983/1.065, allocations: 148.2 kB / 1.191 GB, free: 12.7 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.711e-05/1.065, allocations: 88.77 kB / 1.191 GB, free: 12.62 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.085e-05/1.065, allocations: 4.062 kB / 1.191 GB, free: 12.62 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.539e-05/1.065, allocations: 11.78 kB / 1.191 GB, free: 12.61 MB / 1.076 GB Notification: Performance of SimCode: time 3.31e-07/1.065, allocations: 0 / 1.191 GB, free: 12.61 MB / 1.076 GB Notification: Performance of Templates: time 0.002849/1.068, allocations: 333.2 kB / 1.191 GB, free: 12.53 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.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.322083170991391]