Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.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.001652/0.001652, allocations: 116.3 kB / 17.13 MB, free: 6.027 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.001807/0.001807, allocations: 208.7 kB / 20.1 MB, free: 3.074 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.535/1.535, allocations: 230.6 MB / 253.5 MB, free: 15.1 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 2.985/2.985, allocations: 0.49 GB / 0.7923 GB, free: 1.273 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_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") [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.002078/0.002078, allocations: 69.78 kB / 1.15 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.067/1.069, allocations: 176.1 MB / 1.322 GB, free: 25.26 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.00203/1.071, allocations: 0.833 MB / 1.323 GB, free: 24.71 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001396/1.071, allocations: 44.61 kB / 1.323 GB, free: 24.68 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.364e-05/1.071, allocations: 2.969 kB / 1.323 GB, free: 24.68 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.048e-05/1.071, allocations: 11.11 kB / 1.323 GB, free: 24.67 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.291e-05/1.071, allocations: 7.875 kB / 1.323 GB, free: 24.66 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 5.238e-05/1.071, allocations: 21.42 kB / 1.323 GB, free: 24.65 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001172/1.071, allocations: 58.08 kB / 1.323 GB, free: 24.62 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001396/1.071, allocations: 33.91 kB / 1.323 GB, free: 24.61 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.666e-05/1.072, allocations: 31.45 kB / 1.323 GB, free: 24.59 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.617e-05/1.072, allocations: 29.16 kB / 1.323 GB, free: 24.57 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.83e-05/1.072, allocations: 5.719 kB / 1.323 GB, free: 24.57 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.227e-06/1.072, allocations: 8.969 kB / 1.323 GB, free: 24.56 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.852e-05/1.072, allocations: 13.75 kB / 1.323 GB, free: 24.55 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.7e-05/1.072, allocations: 38.67 kB / 1.323 GB, free: 24.53 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001228/1.072, allocations: 76.22 kB / 1.323 GB, free: 24.49 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/1.072, allocations: 0 / 1.323 GB, free: 24.49 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.004e-06/1.072, allocations: 0 / 1.323 GB, free: 24.49 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.931e-06/1.072, allocations: 0 / 1.323 GB, free: 24.49 MB / 1.061 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.0003813/1.072, allocations: 383.4 kB / 1.324 GB, free: 24.1 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/1.072, allocations: 15.08 kB / 1.324 GB, free: 24.09 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.835e-05/1.072, allocations: 11 kB / 1.324 GB, free: 24.09 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001691/1.072, allocations: 190.9 kB / 1.324 GB, free: 23.88 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/1.072, allocations: 3.281 kB / 1.324 GB, free: 23.88 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.233e-05/1.072, allocations: 9.812 kB / 1.324 GB, free: 23.88 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/1.073, allocations: 92.58 kB / 1.324 GB, free: 23.81 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/1.073, allocations: 192 / 1.324 GB, free: 23.81 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/1.073, allocations: 14.72 kB / 1.324 GB, free: 23.8 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/1.073, allocations: 0 / 1.324 GB, free: 23.8 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.142e-05/1.073, allocations: 48.44 kB / 1.324 GB, free: 23.78 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004496/1.073, allocations: 433.1 kB / 1.324 GB, free: 23.38 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.612e-05/1.073, allocations: 39.75 kB / 1.324 GB, free: 23.32 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.293e-05/1.073, allocations: 26.8 kB / 1.324 GB, free: 23.29 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 8.075e-06/1.073, allocations: 2.5 kB / 1.324 GB, free: 23.29 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/1.073, allocations: 30.56 kB / 1.324 GB, free: 23.25 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/1.073, allocations: 0 / 1.324 GB, free: 23.25 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0001741/1.073, allocations: 66.55 kB / 1.324 GB, free: 23.2 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.234e-05/1.073, allocations: 83.89 kB / 1.325 GB, free: 23.1 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/1.074, allocations: 155.8 kB / 1.325 GB, free: 22.98 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.294e-06/1.074, allocations: 29.64 kB / 1.325 GB, free: 22.95 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.793e-05/1.074, allocations: 109.4 kB / 1.325 GB, free: 22.85 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.784e-06/1.074, allocations: 6.891 kB / 1.325 GB, free: 22.84 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.938e-05/1.074, allocations: 16.59 kB / 1.325 GB, free: 22.82 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.126e-05/1.074, allocations: 320.8 kB / 1.325 GB, free: 22.51 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.792e-05/1.074, allocations: 2.625 kB / 1.325 GB, free: 22.51 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.964e-05/1.074, allocations: 23.31 kB / 1.325 GB, free: 22.48 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.538e-05/1.074, allocations: 29.77 kB / 1.325 GB, free: 22.46 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/1.074, allocations: 0 / 1.325 GB, free: 22.46 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.893e-05/1.074, allocations: 57.97 kB / 1.325 GB, free: 22.41 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/1.074, allocations: 5.375 kB / 1.325 GB, free: 22.41 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/1.074, allocations: 10.05 kB / 1.325 GB, free: 22.41 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/1.074, allocations: 4.062 kB / 1.325 GB, free: 22.41 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.283e-05/1.074, allocations: 5.656 kB / 1.325 GB, free: 22.41 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/1.074, allocations: 0 / 1.325 GB, free: 22.41 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.323e-05/1.074, allocations: 10.64 kB / 1.325 GB, free: 22.4 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.04e-06/1.074, allocations: 3 kB / 1.325 GB, free: 22.4 MB / 1.061 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 5.567e-05/1.074, allocations: 112.8 kB / 1.325 GB, free: 22.28 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.168e-05/1.074, allocations: 6.797 kB / 1.325 GB, free: 22.28 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.397e-05/1.074, allocations: 18.53 kB / 1.325 GB, free: 22.26 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/1.074, allocations: 0 / 1.325 GB, free: 22.26 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/1.074, allocations: 10.75 kB / 1.325 GB, free: 22.25 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/1.074, allocations: 0 / 1.325 GB, free: 22.25 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002762/1.074, allocations: 465.4 kB / 1.326 GB, free: 21.77 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/1.074, allocations: 2.656 kB / 1.326 GB, free: 21.77 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.867e-05/1.074, allocations: 2.562 kB / 1.326 GB, free: 21.77 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/1.074, allocations: 0 / 1.326 GB, free: 21.77 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-06/1.074, allocations: 2.625 kB / 1.326 GB, free: 21.77 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/1.074, allocations: 4.062 kB / 1.326 GB, free: 21.77 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/1.074, allocations: 3.938 kB / 1.326 GB, free: 21.77 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.553e-05/1.075, allocations: 86.45 kB / 1.326 GB, free: 21.68 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.391e-05/1.075, allocations: 87.61 kB / 1.326 GB, free: 21.58 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.345e-05/1.075, allocations: 3.938 kB / 1.326 GB, free: 21.57 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.131e-05/1.075, allocations: 2.875 kB / 1.326 GB, free: 21.57 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.207e-05/1.075, allocations: 4.031 kB / 1.326 GB, free: 21.57 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-06/1.075, allocations: 3.938 kB / 1.326 GB, free: 21.57 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.397e-05/1.075, allocations: 125.5 kB / 1.326 GB, free: 21.48 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.075, allocations: 0 / 1.326 GB, free: 21.48 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000196/1.075, allocations: 7.688 kB / 1.326 GB, free: 21.48 MB / 1.061 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.0001059/1.075, allocations: 100.4 kB / 1.326 GB, free: 21.39 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 8.107e-05/1.075, allocations: 18.94 kB / 1.326 GB, free: 21.38 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/1.075, allocations: 4.125 kB / 1.326 GB, free: 21.38 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.118e-06/1.075, allocations: 2.531 kB / 1.326 GB, free: 21.38 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000159/1.075, allocations: 17.03 kB / 1.326 GB, free: 21.37 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002996/1.076, allocations: 190.1 kB / 1.327 GB, free: 21.18 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001183/1.076, allocations: 0.6921 MB / 1.327 GB, free: 20.48 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.456e-05/1.076, allocations: 17.19 kB / 1.327 GB, free: 20.47 MB / 1.061 GB Notification: Performance of SimCode: time 8.01e-07/1.076, allocations: 0 / 1.327 GB, free: 20.47 MB / 1.061 GB Notification: Performance of Templates: time 0.002379/1.078, allocations: 0.8666 MB / 1.328 GB, free: 20.4 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.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.434735300004832]